add a default route in the dummy ppp.sh implementation to debug default route handlin...
authorFelix Fietkau <nbd@openwrt.org>
Thu, 12 Apr 2012 13:56:36 +0000 (15:56 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 12 Apr 2012 13:56:36 +0000 (15:56 +0200)
dummy/proto/ppp.sh

index 4ca26508c30e0756ffd5c174c5340cb2d41ac5e2..9f0c05095867cbb9197550f29582bab83e69f9e5 100755 (executable)
@@ -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