Make sure to overwrite sdl_type after calling ether_ifattach().
authormpi <mpi@openbsd.org>
Tue, 28 Apr 2015 14:51:50 +0000 (14:51 +0000)
committermpi <mpi@openbsd.org>
Tue, 28 Apr 2015 14:51:50 +0000 (14:51 +0000)
commit4952bf47fc7ce0b0172774fe28d6dfabfc8c7723
treeffd1cb57771b3b2d618465b8015e1717054429e6
parent657454b1f12a352ecb11a961c310174a912a8e0c
Make sure to overwrite sdl_type after calling ether_ifattach().

Fix a problem found by Johan Huldtgren, ok phessler@
sys/netinet/ip_carp.c