From: Ben Pfaff Date: Wed, 6 Mar 2013 00:25:32 +0000 (-0800) Subject: bridge: Minor style fix. X-Git-Tag: sliver-openvswitch-1.10.90-1~10^2~75 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=d0db8de278eafa0652bc121c1b1a38ff6d1fc270 bridge: Minor style fix. Signed-off-by: Ben Pfaff Acked-by: Ethan Jackson --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index f7932c74a..7d1c8edec 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -1721,8 +1721,7 @@ iface_refresh_status(struct iface *iface) netdev_features_is_full_duplex(current) ? "full" : "half"); ovsrec_interface_set_link_speed(iface->cfg, &bps, 1); - } - else { + } else { ovsrec_interface_set_duplex(iface->cfg, NULL); ovsrec_interface_set_link_speed(iface->cfg, NULL, 0); }