HomeFreeBSD

carp: fix source MAC

Description

carp: fix source MAC

When we're not in unicast mode we need to change the source MAC address.
The check for this was wrong, because IN_MULTICAST() assumes host
endianness and the address in sc_carpaddr is in network endianness.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Details

Provenance
kpAuthored on Mar 27 2023, 10:01 PM
Parents
rG27b23cdec9d1: pf: remove pd_refs from pfsync
Branches
Unknown
Tags
Unknown