From a86c3e601ce8a93a3f6eb6b3b8409414ab12452a Mon Sep 17 00:00:00 2001 From: david-guti <114598986+david-guti@users.noreply.github.com> Date: Wed, 22 Mar 2023 16:08:22 +0100 Subject: [PATCH] Update en10mb.c Fixed expression to detect an ip6 multicast packet --- src/tcpedit/plugins/dlt_en10mb/en10mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tcpedit/plugins/dlt_en10mb/en10mb.c b/src/tcpedit/plugins/dlt_en10mb/en10mb.c index 671572ec..4345cf89 100644 --- a/src/tcpedit/plugins/dlt_en10mb/en10mb.c +++ b/src/tcpedit/plugins/dlt_en10mb/en10mb.c @@ -807,7 +807,7 @@ static void dlt_en10mb_ipv6_multicast_mac_update(const struct tcpr_in6_addr *ip6 uint8_t mac[]) { /* only modify multicast packets */ - if (ip6->tcpr_s6_addr[0] == 0xff) + if (ip6->tcpr_s6_addr[0] != 0xff) return; mac[0] = 0x33;