diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-08-28 15:55:49 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-08-28 15:55:49 +0000 |
commit | fb383aafc75ac488266b7800dad41a7c1ece20f8 (patch) | |
tree | b7733c400373f2ad8fc35b5f580c4449b5e1b01c | |
parent | 57cc4cad8bd15400ff47b5f505a109cea12ff373 (diff) | |
download | FreeBSD-src-fb383aafc75ac488266b7800dad41a7c1ece20f8.zip FreeBSD-src-fb383aafc75ac488266b7800dad41a7c1ece20f8.tar.gz |
Add IFF_POLLING into the list of flags which are protected from changing via
ioctl(SIOCSIFFLAGS).
MFC after: 1 day
-rw-r--r-- | sys/net/if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index 8453ff5..a11dc39 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -145,7 +145,8 @@ struct if_data { /* flags set internally only: */ #define IFF_CANTCHANGE \ (IFF_BROADCAST|IFF_POINTOPOINT|IFF_RUNNING|IFF_OACTIVE|\ - IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC) + IFF_SIMPLEX|IFF_MULTICAST|IFF_ALLMULTI|IFF_SMART|IFF_PROMISC|\ + IFF_POLLING) /* Capabilities that interfaces can advertise. */ #define IFCAP_RXCSUM 0x0001 /* can offload checksum on RX */ |