projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
fce61c6
)
bridge: fix stray semicolon, fixes a bug in bridge primary port reset
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Oct 2013 15:59:05 +0000
(16:59 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 29 Oct 2013 16:07:53 +0000
(17:07 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
bridge.c
patch
|
blob
|
history
diff --git
a/bridge.c
b/bridge.c
index
01c9a2c
..
0e06cc2
100644
(file)
--- a/
bridge.c
+++ b/
bridge.c
@@
-178,7
+178,7
@@
bridge_remove_member(struct bridge_member *bm)
if (!bm->present)
return;
if (!bm->present)
return;
- if (bm == bst->primary_port)
;
+ if (bm == bst->primary_port)
bridge_reset_primary(bst);
if (bst->dev.active)
bridge_reset_primary(bst);
if (bst->dev.active)