diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-08 13:38:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-08 13:38:21 +0100 |
commit | 790c77ed025f2d71d0aed1f0183bbedbbc1799e6 (patch) | |
tree | 08ce899248d37a102c3be14136ec7103c59b37a8 /ospfd/ospf_nsm.c | |
parent | Merge pull request #257 from opensourcerouting/nhrpd (diff) | |
parent | *: fix some option descriptions and make -e work (diff) | |
download | frr-790c77ed025f2d71d0aed1f0183bbedbbc1799e6.tar.xz frr-790c77ed025f2d71d0aed1f0183bbedbbc1799e6.zip |
Merge pull request #261 from opensourcerouting/lib_cleanup
startup, option parsing & logging refactor
Diffstat (limited to 'ospfd/ospf_nsm.c')
-rw-r--r-- | ospfd/ospf_nsm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_nsm.c b/ospfd/ospf_nsm.c index ccb82bf8f..01617055c 100644 --- a/ospfd/ospf_nsm.c +++ b/ospfd/ospf_nsm.c @@ -63,8 +63,8 @@ ospf_inactivity_timer (struct thread *thread) nbr->t_inactivity = NULL; if (IS_DEBUG_OSPF (nsm, NSM_TIMERS)) - zlog (NULL, LOG_DEBUG, "NSM[%s:%s]: Timer (Inactivity timer expire)", - IF_NAME (nbr->oi), inet_ntoa (nbr->router_id)); + zlog_debug("NSM[%s:%s]: Timer (Inactivity timer expire)", + IF_NAME(nbr->oi), inet_ntoa(nbr->router_id)); OSPF_NSM_EVENT_SCHEDULE (nbr, NSM_InactivityTimer); @@ -80,8 +80,8 @@ ospf_db_desc_timer (struct thread *thread) nbr->t_db_desc = NULL; if (IS_DEBUG_OSPF (nsm, NSM_TIMERS)) - zlog (NULL, LOG_DEBUG, "NSM[%s:%s]: Timer (DD Retransmit timer expire)", - IF_NAME (nbr->oi), inet_ntoa (nbr->src)); + zlog_debug("NSM[%s:%s]: Timer (DD Retransmit timer expire)", + IF_NAME(nbr->oi), inet_ntoa(nbr->src)); /* resent last send DD packet. */ assert (nbr->last_send); |