From abc4b11cea129f81d1cd5b48b0104dd2f5555f83 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Sat, 2 Nov 2019 03:09:17 +0000 Subject: [PATCH] Fix regression from r353026. Pointer was increased instead of value pointed to. PR: 241646 Submitted by: Aleksandr Fedorov --- sys/netgraph/ng_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_bridge.c b/sys/netgraph/ng_bridge.c index cd649f0db1ce..c773ff4db4b0 100644 --- a/sys/netgraph/ng_bridge.c +++ b/sys/netgraph/ng_bridge.c @@ -977,7 +977,7 @@ ng_bridge_unmute(hook_p hook, void *arg) ng_bridge_nodename(node), NG_HOOK_NAME(hook)); } } - counter++; + (*counter)++; return (1); }