X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fofproto.c;h=28df181b92db34e5a3f91c53543227e12537eb9e;hb=4b60911067a82fbdfa87b7c2824412da20287ed8;hp=262493e662765542450c76f636a4995de9389fa8;hpb=ccc096898c4618e8869a7696b40ca7f17e8b9560;p=sliver-openvswitch.git diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 262493e66..28df181b9 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -2398,9 +2398,9 @@ update_port_config(struct ofport *port, toggle = (config ^ port->pp.config) & mask; if (toggle & OFPUTIL_PC_PORT_DOWN) { if (config & OFPUTIL_PC_PORT_DOWN) { - netdev_turn_flags_off(port->netdev, NETDEV_UP, true); + netdev_turn_flags_off(port->netdev, NETDEV_UP, NULL); } else { - netdev_turn_flags_on(port->netdev, NETDEV_UP, true); + netdev_turn_flags_on(port->netdev, NETDEV_UP, NULL); } toggle &= ~OFPUTIL_PC_PORT_DOWN; }