[Bug 4604] debian stable busybox udhcp client does not support /32 netmasks
bugzilla at busybox.net
bugzilla at busybox.net
Thu Aug 7 06:46:27 UTC 2014
https://bugs.busybox.net/show_bug.cgi?id=4604
--- Comment #5 from Michael Tokarev <mjt+busybox at tls.msk.ru> 2014-08-07 06:46:26 UTC ---
I fixed this bug in debian finally. It required 2 components:
1) the "onlink" keyword patch for ip route, and
2) the fix for udhcpc default.script to use this keyword when the netmask is
all-ones.
Other my attempts to fix this, by adding host routes to the gateway first,
failed, because there's no easy way to reset routes on renew if something is
changed, at least not without keeping a state information somewhere.
I also special-cased the /32 subnet there, -- onlink keyword can be used
unconditionally, but since it is a rarely-used feature, I don't know what extra
surprizes it can give us.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list