ip: support for the LOWER_UP flag by Natanael Copa <natanael.copa@gmail.com>.

~50 bytes code growth.
This commit is contained in:
Denis Vlasenko 2008-06-05 14:01:04 +00:00
parent f592aa36f3
commit 9b6f4aa8e8

View File

@ -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 @@ static void print_link_flags(unsigned flags, unsigned mdown)
_PF(NOTRAILERS);
#endif
_PF(UP);
_PF(LOWER_UP);
#undef _PF
if (flags)
printf("%x", flags);