fib: don't refresh neighbor router's FIB entry (it is already installed w/ expiry=never)
refs: #4799
Change-Id: Ib55687655ccd8673eeae14d8418e458ad8ab00aa
diff --git a/src/route/fib-entry.hpp b/src/route/fib-entry.hpp
index f43ddb1..2d653ad 100644
--- a/src/route/fib-entry.hpp
+++ b/src/route/fib-entry.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/**
- * Copyright (c) 2014-2017, The University of Memphis,
+ * Copyright (c) 2014-2018, The University of Memphis,
* Regents of the University of California
*
* This file is part of NLSR (Named-data Link State Routing).
@@ -21,10 +21,10 @@
#ifndef NLSR_FIB_ENTRY_HPP
#define NLSR_FIB_ENTRY_HPP
-#include <ndn-cxx/util/scheduler.hpp>
-
#include "nexthop-list.hpp"
+#include <ndn-cxx/util/scheduler.hpp>
+
namespace nlsr {
class FibEntry
@@ -81,7 +81,7 @@
}
void
- writeLog();
+ writeLog() const;
typedef NexthopList::const_iterator const_iterator;