summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-08 07:38:21 -0500
committerGitHub <noreply@github.com>2017-03-08 07:38:21 -0500
commit790c77ed025f2d71d0aed1f0183bbedbbc1799e6 (patch)
tree08ce899248d37a102c3be14136ec7103c59b37a8 /lib/if.c
parentae6ba9ba043652bde3b0000f5299eff31d351ee3 (diff)
parent2fcc7988ea09b8505c0fbf134ecffe98e4c026b6 (diff)
Merge pull request #261 from opensourcerouting/lib_cleanup
startup, option parsing & logging refactor
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/if.c b/lib/if.c
index 6ee84e126c..f25be591d9 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -987,7 +987,7 @@ connected_log (struct connected *connected, char *str)
strncat (logbuf, inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ),
BUFSIZ - strlen(logbuf));
}
- zlog (NULL, LOG_INFO, "%s", logbuf);
+ zlog_info("%s", logbuf);
}
/* Print if_addr structure. */
@@ -1007,7 +1007,7 @@ nbr_connected_log (struct nbr_connected *connected, char *str)
inet_ntop (p->family, &p->u.prefix, buf, BUFSIZ),
p->prefixlen);
- zlog (NULL, LOG_INFO, "%s", logbuf);
+ zlog_info("%s", logbuf);
}
/* If two connected address has same prefix return 1. */