isc-dhcp: support sending explicit default route
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
This commit is contained in:
parent
1d6c7506ab
commit
ffe0fc77bd
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ append_routes() {
|
|||
octets=$((($prefix + 7) / 8))
|
||||
compacted="$(echo "$network" | cut -d. -f1-$octets)"
|
||||
|
||||
string="${string:+, }$(explode "$prefix.$compacted.$router")"
|
||||
string="${string:+, }$(explode "$prefix${compacted:+.$compacted}.$router")"
|
||||
done
|
||||
|
||||
echo " option classless-ipv4-route $string;"
|
||||
|
|
Loading…
Reference in a new issue