From: Donald Sharp Date: Mon, 7 Feb 2022 18:22:41 +0000 (-0500) Subject: zebra: Use AF_UNSPEC instead of setting to 0 X-Git-Tag: pim6-testing-20220430~360^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=81ef8a69ae3ca88a800312e60884d0a19f3c5528;p=mirror%2Ffrr.git zebra: Use AF_UNSPEC instead of setting to 0 Signed-off-by: Donald Sharp --- 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);