CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2013/12/04 15:14:33

Modified files:
        sbin/dhclient  : dhclient.c 

Log message:
When we receive a /32 IP address assignment, mimick ISC DHCP by adding
a direct route for the default gateway IP with equivalent to

route add -net $gw -netmask 255.255.255.255 -cloning -iface $myip

so that the subsequent

route add default $gw

can succeed.

Magic route(8) incantation thanks to claudio.
Tested successfully on Compute Engine.
Committing now so additional testing/discussion can happen in-tree.

Discussed with deraadt, krw, claudio.

Reply via email to