mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 05:58:17 +00:00
Merge pull request #17033 from FRRouting/mergify/bp/stable/10.1/pr-17022
vrrpd: iterate over all ancillary messages (backport #17022)
This commit is contained in:
commit
7ecf4f2245
@ -234,7 +234,7 @@ ssize_t vrrp_pkt_parse_datagram(int family, int version, bool ipv4_ph,
|
|||||||
} else if (family == AF_INET6) {
|
} else if (family == AF_INET6) {
|
||||||
struct cmsghdr *c;
|
struct cmsghdr *c;
|
||||||
|
|
||||||
for (c = CMSG_FIRSTHDR(m); c != NULL; CMSG_NXTHDR(m, c)) {
|
for (c = CMSG_FIRSTHDR(m); c != NULL; c = CMSG_NXTHDR(m, c)) {
|
||||||
if (c->cmsg_level == IPPROTO_IPV6
|
if (c->cmsg_level == IPPROTO_IPV6
|
||||||
&& c->cmsg_type == IPV6_HOPLIMIT)
|
&& c->cmsg_type == IPV6_HOPLIMIT)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user