summaryrefslogtreecommitdiff
path: root/package/network/config/netifd/files/lib
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/netifd/files/lib')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script
index 288ab18..a3219a0 100755
--- a/package/network/config/netifd/files/lib/netifd/dhcp.script
+++ b/package/network/config/netifd/files/lib/netifd/dhcp.script
@@ -19,6 +19,7 @@ setup_interface () {
# TODO: apply $broadcast
for i in $router; do
+ proto_add_ipv4_route "$i" 32 "" "$ip"
proto_add_ipv4_route 0.0.0.0 0 "$i" "$ip"
done