CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2016/12/07 13:03:22

Modified files:
        usr.sbin/dhcrelay: dhcrelay.c 

Log message:
DHCP requests can be relayed through multiple relays.  Currently we
drop requests that have already been relayed.  To allow usage in the
middle of a chain, remove this check and only set giaddr if it has not
been set yet.  This giaddr will be used by the DHCP server to identify
which subnet the client is connected to.

RFC 1542 specifies that we should increase the hop counter every time
we relay a request.  If we receive a request whose hop counter exceeds
the value of 16 we must silently drop it.

ok jca@

Reply via email to