restrict carp to configuring ethernet interfaces as carpdevs.
authordlg <dlg@openbsd.org>
Fri, 12 Jan 2018 00:36:13 +0000 (00:36 +0000)
committerdlg <dlg@openbsd.org>
Fri, 12 Jan 2018 00:36:13 +0000 (00:36 +0000)
commit1e048bad7755cda071522e5d27eb5eb8f30517d4
treea70435210a6c434086a0964991c9a0ae10f08e31
parent509ce00cacbc49e69a54158eca17caa70dd1b120
restrict carp to configuring ethernet interfaces as carpdevs.

previously the driver only cared that a carp interface wasnt configured
as a carpdev. because the code only really works on ethernet, it makes
sense to restrict it.

ok visa@ mpi@
sys/netinet/ip_carp.c