Handle carp(4) as HTYPE_ETHER.
authorreyk <reyk@openbsd.org>
Fri, 7 Jul 2017 17:25:09 +0000 (17:25 +0000)
committerreyk <reyk@openbsd.org>
Fri, 7 Jul 2017 17:25:09 +0000 (17:25 +0000)
commit8d53af64efe8ae38d31054229b40d8cf8d6b456b
treef91ba8da503bf0eb3a08098d91db6de26930c6e0
parent244ed75adc25949298f7f7414221aeef7174ed49
Handle carp(4) as HTYPE_ETHER.

This fixes "dhcrelay -i carpX" that used to work when dhcrelay didn't care.

Reported and tested by Kapetanakis Giannis bilias at edu.physics.uoc.gr
usr.sbin/dhcrelay/dispatch.c