summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_vxlan.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2019-04-30 16:26:35 +0200
committerGitHub <noreply@github.com>2019-04-30 16:26:35 +0200
commit31e944a8a74db137424fc8f3185750b445c58d8f (patch)
treed9cccdb70da2a5c7ceb67e5f88427520930f8ed5 /zebra/zebra_vxlan.c
parentMerge pull request #4227 from faickermo/fix_show_ip_bgp_json (diff)
parentRevert "lib: use DECLARE_SKIPLIST for timers instead of pqueue" (diff)
downloadfrr-31e944a8a74db137424fc8f3185750b445c58d8f.tar.xz
frr-31e944a8a74db137424fc8f3185750b445c58d8f.zip
Merge pull request #3045 from opensourcerouting/atoms
READY: lists/skiplists/rb-trees new API & sequence lock & atomic lists
Diffstat (limited to 'zebra/zebra_vxlan.c')
-rw-r--r--zebra/zebra_vxlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index 4f6e4e859..a2e217130 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -2167,7 +2167,7 @@ static unsigned int neigh_hash_keymake(void *p)
return jhash_1word(ip->ipaddr_v4.s_addr, 0);
return jhash2(ip->ipaddr_v6.s6_addr32,
- ZEBRA_NUM_OF(ip->ipaddr_v6.s6_addr32), 0);
+ array_size(ip->ipaddr_v6.s6_addr32), 0);
}
/*