Page MenuHomeFreeBSD

vnic: correct and simplify SIOCSIFFLAGS ioctl

Authored by emaste on Nov 10 2017, 2:36 PM.



flags variable was unused, and the IFF_PROMISC logic was broken. Rework and simplify.

Should be a nop because promisc & allmulti don't do anything yet anyhow.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.Nov 10 2017, 2:36 PM
emaste updated this revision to Diff 35036.Nov 10 2017, 2:40 PM

undo accidental if_getdrvflags breakage

This revision was not accepted when it landed; it landed in state Needs Review.Sep 1 2019, 4:53 PM
This revision was automatically updated to reflect the committed changes.