Browse Source
Previously our dhclient-script expected that $new_classless_static_routes will have all values separated by a whitespace. But at least on F25 dhclient will put there the destination descriptor in the same format as it is used by ISC dhcp-server. For example: new_classless_static_routes=32.10.198.122.47 192.168.78.4 while our current code expects new_classless_static_routes=32 10 198 122 47 192 168 78 4 So let's just accept both of these formats by adding "." to IFS. For details plesse see https://tools.ietf.org/html/rfc3442 "Classless Route Option Format"master

1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue