Author: cyrus
Date: 2014-12-08 18:43:03 +0100 (Mon, 08 Dec 2014)
New Revision: 43582
Modified:
trunk/package/network/config/netifd/files/lib/netifd/dhcp.script
Log:
This patch depends on "Pass source address to proto_add_ipv4_route".
I have not found a scenario that would break by setting the source address on
default, but please let me know if any special considerations should be taken.
Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com>
Modified: trunk/package/network/config/netifd/files/lib/netifd/dhcp.script
===================================================================
--- trunk/package/network/config/netifd/files/lib/netifd/dhcp.script
2014-12-08 17:40:53 UTC (rev 43581)
+++ trunk/package/network/config/netifd/files/lib/netifd/dhcp.script
2014-12-08 17:43:03 UTC (rev 43582)
@@ -20,7 +20,7 @@
# TODO: apply $broadcast
for i in $router; do
- proto_add_ipv4_route 0.0.0.0 0 "$i"
+ proto_add_ipv4_route 0.0.0.0 0 "$i" "$ip"
done
# CIDR STATIC ROUTES (rfc3442)
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits