Skip to contentSkip to conversation

missing flags for ip link

PATCH New Radek Vokál 1 participant 1 message Aug 21, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 missing flags for ip link

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       */
Signature · 1 line
Radek Vokál <[email protected]>
ip/ipaddress.c renamed from ip/ipaddress.c.old +2 -0
@@ -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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc