diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-29 16:59:05 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-29 17:07:53 +0100 |
commit | 0bdaf23dc9fc786698787593381efefd527e5f89 (patch) | |
tree | 388a62da125deab57f3f002e5f116864f60b38af /bridge.c | |
parent | fce61c6d35515b6f89b50f42ac2cba6b4b60159e (diff) |
bridge: fix stray semicolon, fixes a bug in bridge primary port reset
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'bridge.c')
-rw-r--r-- | bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -178,7 +178,7 @@ bridge_remove_member(struct bridge_member *bm) if (!bm->present) return; - if (bm == bst->primary_port); + if (bm == bst->primary_port) bridge_reset_primary(bst); if (bst->dev.active) |