summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-04-12 15:56:36 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-04-12 15:56:36 +0200
commit3bafc1916e60745ebef60f1de678195824a1f351 (patch)
tree165bb95cb332c62a8b67055d151afddc6a693e78
parentf4508267c9b5524c1ba9dffde16b1ab1dcd1f857 (diff)
add a default route in the dummy ppp.sh implementation to debug default route handling issues
-rwxr-xr-xdummy/proto/ppp.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/dummy/proto/ppp.sh b/dummy/proto/ppp.sh
index 4ca2650..9f0c050 100755
--- a/dummy/proto/ppp.sh
+++ b/dummy/proto/ppp.sh
@@ -39,6 +39,7 @@ proto_pppoe_setup() {
proto_init_update ppp0 1
proto_add_ipv4_address "192.168.2.1" 32
proto_add_dns_server "192.168.2.2"
+ proto_add_ipv4_route "0.0.0.0" 0 192.168.2.2
proto_add_data
json_add_string "ppp-type" "pppoe"
proto_close_data