summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-11-19 09:59:05 +0100
committerHans Dedecker <dedeckeh@gmail.com>2018-11-19 10:08:49 +0100
commit4b83102da60bf26b455ac8425a1f5e338ea01f8a (patch)
treea1d16ca3be08e2bae7884f28c0a35fa4afa580d5 /bridge.c
parent70506bf09b8ef971ae90155bc86ef3e9bed6785f (diff)
treewide: switch to C-code style comments
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/bridge.c b/bridge.c
index da450a1..c1f4ffa 100644
--- a/bridge.c
+++ b/bridge.c
@@ -409,9 +409,11 @@ bridge_create_member(struct bridge_state *bst, const char *name,
strcpy(bm->name, name);
bm->dev.dev = dev;
vlist_add(&bst->members, &bm->node, bm->name);
- // Need to look up the bridge member again as the above
- // created pointer will be freed in case the bridge member
- // already existed
+ /*
+ * Need to look up the bridge member again as the above
+ * created pointer will be freed in case the bridge member
+ * already existed
+ */
bm = vlist_find(&bst->members, name, bm, node);
if (hotplug && bm)
bm->node.version = -1;