]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Better handling of ioctl(SIOCSIFFLAGS) failing in ifpromisc():
authorfenner <fenner@FreeBSD.org>
Fri, 27 Apr 2001 22:20:22 +0000 (22:20 +0000)
committerfenner <fenner@FreeBSD.org>
Fri, 27 Apr 2001 22:20:22 +0000 (22:20 +0000)
commit65d40dd90a422bc664875beb90dea98e35f749b8
tree76e4774448857048ee9f846b251309d681aa2e3c
parent0b059bcc425cfc51d0f0b21504e5799c4d743f7a
Better handling of ioctl(SIOCSIFFLAGS) failing in ifpromisc():
- Don't print the "promiscuous mode (enabled|disabled)" on failure
- Restore the reference count on failure
sys/net/if.c