From: Felix Fietkau Date: Tue, 29 Oct 2013 15:59:05 +0000 (+0100) Subject: bridge: fix stray semicolon, fixes a bug in bridge primary port reset X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0bdaf23dc9fc786698787593381efefd527e5f89;p=oweals%2Fnetifd.git bridge: fix stray semicolon, fixes a bug in bridge primary port reset Signed-off-by: Felix Fietkau --- diff --git a/bridge.c b/bridge.c index 01c9a2c..0e06cc2 100644 --- a/bridge.c +++ b/bridge.c @@ -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)