Browse Source

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
Steven Barth 11 years ago
parent
commit
15d67644f1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/config/netifd/files/lib/netifd/dhcp.script

+ 1 - 1
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)