diff options
author | glebius <glebius@FreeBSD.org> | 2013-11-05 12:52:56 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2013-11-05 12:52:56 +0000 |
commit | cb6df3f35cfa18fcb27b94a3a42423ae51d713c0 (patch) | |
tree | 5b25ff64181cb8017ff8829c41ad7f6ce5d87326 /sys/net/if.h | |
parent | 3b6f8b896cf04f26955153df6e46b94aebfaf707 (diff) | |
download | FreeBSD-src-cb6df3f35cfa18fcb27b94a3a42423ae51d713c0.zip FreeBSD-src-cb6df3f35cfa18fcb27b94a3a42423ae51d713c0.tar.gz |
Axe IFF_SMART. Fortunately this layering violating flag was never used,
it was just declared.
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 83c65b8..cb101d2 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -129,7 +129,7 @@ struct if_data { #define IFF_DEBUG 0x4 /* (n) turn on debugging */ #define IFF_LOOPBACK 0x8 /* (i) is a loopback net */ #define IFF_POINTOPOINT 0x10 /* (i) is a point-to-point link */ -#define IFF_SMART 0x20 /* (i) interface manages own routes */ +/* 0x20 was IFF_SMART */ #define IFF_DRV_RUNNING 0x40 /* (d) resources allocated */ #define IFF_NOARP 0x80 /* (n) no address resolution protocol */ #define IFF_PROMISC 0x100 /* (n) receive all packets */ @@ -159,7 +159,7 @@ struct if_data { /* flags set internally only: */ #define IFF_CANTCHANGE \ (IFF_BROADCAST|IFF_POINTOPOINT|IFF_DRV_RUNNING|IFF_DRV_OACTIVE|\ - IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\ + IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_PROMISC|\ IFF_DYING|IFF_CANTCONFIG) /* |