simplify the input interface type check in carp_proto_input_if.
authordlg <dlg@openbsd.org>
Wed, 10 Jan 2018 10:25:52 +0000 (10:25 +0000)
committerdlg <dlg@openbsd.org>
Wed, 10 Jan 2018 10:25:52 +0000 (10:25 +0000)
commit88868b84dadc842f4cd57a028952fa06d5d0b77a
tree31b8b69c2869e6b6f014dab7ba34866e4042dc04
parent875135e32bb7f6cf6f15bfcdcdfc4ceef3cf900b
simplify the input interface type check in carp_proto_input_if.

carp6_proto_input_if only handles packets "received" on real carp
interfaces, which the ethernet stack goes to a lot of trouble to
provide. since carp assumes ethernet, carp_proto_input_if can assume
the packets will come in right too.

ok mpi@
sys/netinet/ip_carp.c