From: Felix Fietkau Date: Thu, 12 Apr 2012 13:56:36 +0000 (+0200) Subject: add a default route in the dummy ppp.sh implementation to debug default route handlin... X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3bafc1916e60745ebef60f1de678195824a1f351;p=oweals%2Fnetifd.git add a default route in the dummy ppp.sh implementation to debug default route handling issues --- 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