devices: allow link state down with netlink 98/26698/2
authorMatthew Smith <mgsmith@netgate.com>
Fri, 24 Apr 2020 18:43:12 +0000 (13:43 -0500)
committerDamjan Marion <dmarion@me.com>
Mon, 27 Apr 2020 10:54:13 +0000 (10:54 +0000)
commit81284163a293759bc5c2d6a124639c6796589d15
tree708b962fbb6a3fb80be57cfb0389319fd6221c4d
parent770178e365b5c37ecdecfecb424003cca7343ede
devices: allow link state down with netlink

Type: fix

Use the up parameter in vnet_netlink_set_link_state(). It was
ignoring the parameter and always setting IFF_UP on an interface.

Change-Id: I0d44406d982afbdc43bc6b26d0f22c0bdd47abdc
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
src/vnet/devices/netlink.c