From: Steven Barth Date: Mon, 8 Dec 2014 17:43:03 +0000 (+0000) Subject: This patch depends on "Pass source address to proto_add_ipv4_route". X-Git-Tag: reboot~5050 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=15d67644f11e62a7dbd61465bf23a7d98ff2d957;p=openwrt%2Fopenwrt.git 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 SVN-Revision: 43582 --- diff --git a/package/network/config/netifd/files/lib/netifd/dhcp.script b/package/network/config/netifd/files/lib/netifd/dhcp.script index 90fa6d3054..17e22af795 100755 --- a/package/network/config/netifd/files/lib/netifd/dhcp.script +++ b/package/network/config/netifd/files/lib/netifd/dhcp.script @@ -20,7 +20,7 @@ setup_interface () { # 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)