diff options
author | 2002-08-08 18:53:10 +0000 | |
---|---|---|
committer | 2002-08-08 18:53:10 +0000 | |
commit | dc90a66d327a469649fb568d9a55591fa9fae768 (patch) | |
tree | d0b5cdfcf45cf1feda01a032be2010b7bc3c3d9c /sys/netinet/tcp_input.c | |
parent | implement setenv. (diff) | |
download | wireguard-openbsd-dc90a66d327a469649fb568d9a55591fa9fae768.tar.xz wireguard-openbsd-dc90a66d327a469649fb568d9a55591fa9fae768.zip |
Fix IFF_PROMISC setting optimization. The point is to avoid the
wi_init() if only IFF_PROMISC status has changed. There is no need
to change anything if we are in HostAP mode since wi_init() has
already turned off the hardware promisc bit when we entered HostAP
(HostAP already implies promisc behavior).
Noticed by imp@, OK by mickey@
Diffstat (limited to 'sys/netinet/tcp_input.c')
0 files changed, 0 insertions, 0 deletions