use uint64_t ethernet addresses for compares in carp.
authordlg <dlg@openbsd.org>
Sun, 7 Mar 2021 06:02:32 +0000 (06:02 +0000)
committerdlg <dlg@openbsd.org>
Sun, 7 Mar 2021 06:02:32 +0000 (06:02 +0000)
commit3d877566ccf3785fee7d0aefa9abb0ab070a9bde
tree9e4211a1f93e8ccac4eb7b15b93fd36dd546e867
parentcc7a24bd137ff75dd60ee431cce0fb77bc1d9aa5
use uint64_t ethernet addresses for compares in carp.

pass the uint64_t that ether_input has already converted from a
real ethernet address into carp_input so it can use it without
having to do its own conversion.

tested by hrvoje popovski
tested by me on amd64 and sparc64
ok patrick@ jmatthew@
sys/net/if_ethersubr.c
sys/netinet/ip_carp.c
sys/netinet/ip_carp.h