svn commit: trunk/busybox/networking/libiproute
vda at busybox.net
vda at busybox.net
Thu Jun 5 07:01:05 PDT 2008
Author: vda
Date: 2008-06-05 07:01:04 -0700 (Thu, 05 Jun 2008)
New Revision: 22237
Log:
ip: support for the LOWER_UP flag by Natanael Copa <natanael.copa at gmail.com>.
~50 bytes code growth.
Modified:
trunk/busybox/networking/libiproute/ipaddress.c
Changeset:
Modified: trunk/busybox/networking/libiproute/ipaddress.c
===================================================================
--- trunk/busybox/networking/libiproute/ipaddress.c 2008-06-05 13:47:35 UTC (rev 22236)
+++ trunk/busybox/networking/libiproute/ipaddress.c 2008-06-05 14:01:04 UTC (rev 22237)
@@ -18,6 +18,10 @@
#include "rt_names.h"
#include "utils.h"
+#ifndef IFF_LOWER_UP
+/* from linux/if.h */
+#define IFF_LOWER_UP 0x10000 /* driver signals L1 up*/
+#endif
typedef struct filter_t {
char *label;
@@ -63,6 +67,7 @@
_PF(NOTRAILERS);
#endif
_PF(UP);
+ _PF(LOWER_UP);
#undef _PF
if (flags)
printf("%x", flags);
More information about the busybox-cvs
mailing list