diff options
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 */ |