projects
/
oweals
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f450826
)
add a default route in the dummy ppp.sh implementation to debug default route handlin...
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Apr 2012 13:56:36 +0000
(15:56 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 12 Apr 2012 13:56:36 +0000
(15:56 +0200)
dummy/proto/ppp.sh
patch
|
blob
|
history
diff --git
a/dummy/proto/ppp.sh
b/dummy/proto/ppp.sh
index 4ca26508c30e0756ffd5c174c5340cb2d41ac5e2..9f0c05095867cbb9197550f29582bab83e69f9e5 100755
(executable)
--- 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