From fb383aafc75ac488266b7800dad41a7c1ece20f8 Mon Sep 17 00:00:00 2001 From: sobomax Date: Wed, 28 Aug 2002 15:55:49 +0000 Subject: Add IFF_POLLING into the list of flags which are protected from changing via ioctl(SIOCSIFFLAGS). MFC after: 1 day --- sys/net/if.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/net/if.h') 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 */ -- cgit v1.1