diff options
author | leper <blubblub@mail.ru> | 2023-10-23 08:23:55 +0000 |
---|---|---|
committer | Fernando ApesteguĂa <fernape@FreeBSD.org> | 2023-10-23 14:44:09 +0000 |
commit | 5881889d20c6cc5bcdda34681c5c8bcc9f43defe (patch) | |
tree | 711d0d9d29594057aed46cb2931f1eff883991ef | |
parent | 2ac75eafd85218e6a4f7d66bfe8cb40575b684da (diff) | |
download | ports-5881889d20c6cc5bcdda34681c5c8bcc9f43defe.tar.gz ports-5881889d20c6cc5bcdda34681c5c8bcc9f43defe.zip |
net/igmpproxy: Patch to fix membership query packet checksums.
PR: 274656
Reported by: blubblub@mail.ru
Approved by: franco@opnsense.org (maintainer)
-rw-r--r-- | net/igmpproxy/files/patch-src_igmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/igmpproxy/files/patch-src_igmp.c b/net/igmpproxy/files/patch-src_igmp.c new file mode 100644 index 000000000000..07ec003f8c30 --- /dev/null +++ b/net/igmpproxy/files/patch-src_igmp.c @@ -0,0 +1,11 @@ +--- src/igmp.c.orig 2022-10-29 10:01:46 UTC ++++ src/igmp.c +@@ -288,7 +288,7 @@ static void buildIgmp(uint32_t src, uint32_t dst, int + igmp->igmp_group.s_addr = group; + igmp->igmp_cksum = 0; + igmp->igmp_cksum = inetChksum((unsigned short *)igmp, +- IP_HEADER_RAOPT_LEN + datalen); ++ sizeof(igmp) + datalen); + + } + |