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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43582 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
1312973275
commit
212e218933
|
@ -20,7 +20,7 @@ setup_interface () {
|
||||||
# TODO: apply $broadcast
|
# TODO: apply $broadcast
|
||||||
|
|
||||||
for i in $router; do
|
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
|
done
|
||||||
|
|
||||||
# CIDR STATIC ROUTES (rfc3442)
|
# CIDR STATIC ROUTES (rfc3442)
|
||||||
|
|
Loading…
Reference in New Issue