git: 5881889d20c6 - main - net/igmpproxy: Patch to fix membership query packet checksums.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Oct 2023 14:44:43 UTC
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=5881889d20c6cc5bcdda34681c5c8bcc9f43defe commit 5881889d20c6cc5bcdda34681c5c8bcc9f43defe Author: leper <blubblub@mail.ru> AuthorDate: 2023-10-23 08:23:55 +0000 Commit: Fernando Apesteguía <fernape@FreeBSD.org> CommitDate: 2023-10-23 14:44:09 +0000 net/igmpproxy: Patch to fix membership query packet checksums. PR: 274656 Reported by: blubblub@mail.ru Approved by: franco@opnsense.org (maintainer) --- net/igmpproxy/files/patch-src_igmp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); + + } +