summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog2
-rw-r--r--lib/if.c3
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>
diff --git a/lib/if.c b/lib/if.c
index df761265..c43d9564 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -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 */