diff options
author | Paul Jakma <paul.jakma@sun.com> | 2006-06-15 12:48:17 +0000 |
---|---|---|
committer | Paul Jakma <paul.jakma@sun.com> | 2006-06-15 12:48:17 +0000 |
commit | 630c97ce0f87a719f678a24bd84945d4f145fdc5 (patch) | |
tree | 1b87b2247617af51556f24a45b6735674d7f948d /lib | |
parent | c024fd0c76bc305cd6b6bab0989226bd9ec5e763 (diff) |
[zebra] remove internal if_flag_dump, use libzebras version.
2006-06-15 Paul Jakma <paul.jakma@sun.com>
* lib/if.c: (if_flag_dump) remove the whitespace indentation, callers
should provide.
* zebra/interface.c: (if_flag_dump_vty) redundant code, remove.
(if_dump_vty) use libzebra if_flag_dump.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ChangeLog | 2 | ||||
-rw-r--r-- | lib/if.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog index a9c3b8bf..d031d8f5 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -5,6 +5,8 @@ pointer. * linklist.c: (list_delete) call list_delete_all_node, don't duplicate it. + * if.c: (if_flag_dump) remove the whitespace indentation, callers + should provide. 2006-05-28 Paul Jakma <paul.jakma@sun.com> @@ -405,7 +405,7 @@ if_flag_dump (unsigned long flag) strlcat (logbuf, STR, BUFSIZ); \ } - strlcpy (logbuf, " <", BUFSIZ); + strlcpy (logbuf, "<", BUFSIZ); IFF_OUT_LOG (IFF_UP, "UP"); IFF_OUT_LOG (IFF_BROADCAST, "BROADCAST"); IFF_OUT_LOG (IFF_DEBUG, "DEBUG"); @@ -431,6 +431,7 @@ if_flag_dump (unsigned long flag) strlcat (logbuf, ">", BUFSIZ); return logbuf; +#undef IFF_OUT_LOG } /* For debugging */ |