diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-08 07:38:21 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-08 07:38:21 -0500 | 
| commit | 790c77ed025f2d71d0aed1f0183bbedbbc1799e6 (patch) | |
| tree | 08ce899248d37a102c3be14136ec7103c59b37a8 /lib/if.c | |
| parent | ae6ba9ba043652bde3b0000f5299eff31d351ee3 (diff) | |
| parent | 2fcc7988ea09b8505c0fbf134ecffe98e4c026b6 (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.c | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -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. */  | 
