summaryrefslogtreecommitdiff
path: root/zebra/zebra_nhg.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2022-02-07 23:29:33 +0300
committerGitHub <noreply@github.com>2022-02-07 23:29:33 +0300
commit16cdf5ddbc5c92f0dc43d9243a60a7258c67e68d (patch)
tree566c01776c94e94000d64eb463962763be99e3cf /zebra/zebra_nhg.c
parent88f739c16bf82cbfe3d8d15c29f88c948c3b53cb (diff)
parentb6d2bb07d86e3e2799643e9ef828943378ab8429 (diff)
Merge pull request #10518 from donaldsharp/af_unspec
Af unspec
Diffstat (limited to 'zebra/zebra_nhg.c')
-rw-r--r--zebra/zebra_nhg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c
index fac312cf7c..c1b104aec7 100644
--- a/zebra/zebra_nhg.c
+++ b/zebra/zebra_nhg.c
@@ -2369,7 +2369,7 @@ static unsigned nexthop_active_check(struct route_node *rn,
else if (rn->p.family == AF_INET6)
family = AFI_IP6;
else
- family = 0;
+ family = AF_UNSPEC;
if (IS_ZEBRA_DEBUG_NHG_DETAIL)
zlog_debug("%s: re %p, nexthop %pNHv", __func__, re, nexthop);