aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2014-12-08 17:43:03 +0000
committerSteven Barth <cyrus@openwrt.org>2014-12-08 17:43:03 +0000
commit15d67644f11e62a7dbd61465bf23a7d98ff2d957 (patch)
tree58a117d4f5aa3c9acf3cb938c5811dd90e6c2e63 /package/network
parentac09fd9a131f721746e6950bc1ddf1bdda732f14 (diff)
downloadupstream-15d67644f11e62a7dbd61465bf23a7d98ff2d957.tar.gz
upstream-15d67644f11e62a7dbd61465bf23a7d98ff2d957.tar.bz2
upstream-15d67644f11e62a7dbd61465bf23a7d98ff2d957.zip
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> SVN-Revision: 43582
Diffstat (limited to 'package/network')
-rwxr-xr-xpackage/network/config/netifd/files/lib/netifd/dhcp.script2
1 files changed, 1 insertions, 1 deletions
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)