mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-03 21:10:33 +00:00
Merge pull request #2981 from donaldsharp/v6_vxlan_bug
zebra: Fix RB-Tree storage comparison function for v6
This commit is contained in:
commit
18b43e554e
@ -207,6 +207,9 @@ static int host_rb_entry_compare(const struct host_rb_entry *hle1,
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
} else if (hle1->p.family == AF_INET6) {
|
||||
return memcmp(&hle1->p.u.prefix6, &hle2->p.u.prefix6,
|
||||
IPV6_MAX_BYTELEN);
|
||||
} else {
|
||||
zlog_warn("%s: Unexpected family type: %d", __PRETTY_FUNCTION__,
|
||||
hle1->p.family);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user