[PATCH] missing flags for ip link

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There's a flag 10000 that is not recognized by iproute. The kernel uses

#define IFF_LOWER_UP    0x10000         /* driver signals L1 up         */
#define IFF_DORMANT     0x20000         /* driver signals dormant       */


-- 
Radek Vokál <rvokal@xxxxxxxxxx>
--- iproute2-2.6.17-000000/ip/ipaddress.c.old	2006-08-21 13:31:30.000000000 +0200
+++ iproute2-2.6.17-000000/ip/ipaddress.c	2006-08-21 13:41:33.000000000 +0200
@@ -97,6 +97,8 @@
 	_PF(PORTSEL);
 	_PF(NOTRAILERS);
 	_PF(UP);
+	_PF(LOWER_UP);
+	_PF(DORMANT);
 #undef _PF
         if (flags)
 		fprintf(fp, "%x", flags);
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux