blob: 0091245d4bd671a17cbf3a733d00a62fbd34f894 [file] [log] [blame]
akmhoque3d06e792014-05-27 16:23:20 -05001/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2/**
dmcoomescf8d0ed2017-02-21 11:39:01 -06003 * Copyright (c) 2014-2018, The University of Memphis,
Nick Gordonf8b5bcd2016-08-11 15:06:50 -05004 * Regents of the University of California
akmhoque3d06e792014-05-27 16:23:20 -05005 *
6 * This file is part of NLSR (Named-data Link State Routing).
7 * See AUTHORS.md for complete list of NLSR authors and contributors.
8 *
9 * NLSR is free software: you can redistribute it and/or modify it under the terms
10 * of the GNU General Public License as published by the Free Software Foundation,
11 * either version 3 of the License, or (at your option) any later version.
12 *
13 * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
14 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along with
18 * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>.
akmhoque3d06e792014-05-27 16:23:20 -050019 **/
Muktadir Chowdhury3be64662015-05-01 14:50:53 -050020
akmhoque53353462014-04-22 08:43:45 -050021#include "fib-entry.hpp"
akmhoque674b0b12014-05-20 14:33:28 -050022#include "logger.hpp"
akmhoque53353462014-04-22 08:43:45 -050023
24namespace nlsr {
25
dmcoomescf8d0ed2017-02-21 11:39:01 -060026INIT_LOGGER(route.FibEntry);
akmhoque674b0b12014-05-20 14:33:28 -050027
akmhoque674b0b12014-05-20 14:33:28 -050028void
Ashlesh Gawandee5002b32018-12-20 21:07:31 -060029FibEntry::writeLog() const
akmhoque674b0b12014-05-20 14:33:28 -050030{
dmcoomes5bcb39e2017-10-31 15:07:55 -050031 NLSR_LOG_DEBUG("Name Prefix: " << m_name);
32 NLSR_LOG_DEBUG("Seq No: " << m_seqNo);
akmhoque674b0b12014-05-20 14:33:28 -050033 m_nexthopList.writeLog();
34}
35
Nick Gordonfad8e252016-08-11 14:21:38 -050036} // namespace nlsr