diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2013-12-04 22:14:34 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2013-12-04 22:14:34 +0000 |
commit | 1ab2cc9c93c28ccaaf733011dce6a18022038e4b (patch) | |
tree | b11b2ce3f22ff47edc8ab429ab53758e5df41513 /include/unistd.h | |
parent | 40799001045ca3aada24643cea2c88116e097737 (diff) |
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.
Diffstat (limited to 'include/unistd.h')
0 files changed, 0 insertions, 0 deletions