diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2022-10-06 22:34:52 -0600 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2022-10-21 15:12:19 -0700 |
commit | ffe0fc77bd946fb1ee1f8d0b2b3b84ba32b41a73 (patch) | |
tree | 21d412a8ae107256e1b6b2e5b1d352aeeee0ce00 /net/isc-dhcp/files/dhcpd.init | |
parent | 1d6c7506ab38d499798f9dc8a2f100726abc149b (diff) |
isc-dhcp: support sending explicit default route
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'net/isc-dhcp/files/dhcpd.init')
-rwxr-xr-x | net/isc-dhcp/files/dhcpd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/isc-dhcp/files/dhcpd.init b/net/isc-dhcp/files/dhcpd.init index e72cb3797..2dcc88ee5 100755 --- a/net/isc-dhcp/files/dhcpd.init +++ b/net/isc-dhcp/files/dhcpd.init @@ -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;" |