aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-10-27 20:28:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-10-27 20:28:42 +0000
commit774a74722d31ac3c7cefee91fcbcd15788ff274f (patch)
tree9f949fc5ea39569ff89140c67df276e14623b5f2 /package/netifd/files
parent0095a6a47cf13c8fbfdbc1746b8b3d4b70bd76dc (diff)
downloadupstream-774a74722d31ac3c7cefee91fcbcd15788ff274f.tar.gz
upstream-774a74722d31ac3c7cefee91fcbcd15788ff274f.tar.bz2
upstream-774a74722d31ac3c7cefee91fcbcd15788ff274f.zip
netifd: update, prefix proto handler callbacks with 'proto_'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28632 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/netifd/files')
-rwxr-xr-xpackage/netifd/files/lib/netifd/proto/ppp.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/package/netifd/files/lib/netifd/proto/ppp.sh b/package/netifd/files/lib/netifd/proto/ppp.sh
index 7cff2a98e7..5f549bf6e1 100755
--- a/package/netifd/files/lib/netifd/proto/ppp.sh
+++ b/package/netifd/files/lib/netifd/proto/ppp.sh
@@ -90,31 +90,31 @@ ppp_generic_teardown() {
# PPP on serial device
-ppp_init_config() {
+proto_ppp_init_config() {
proto_config_add_string "device"
ppp_generic_init_config
no_device=1
available=1
}
-ppp_setup() {
+proto_ppp_setup() {
local config="$1"
json_get_var device device
ppp_generic_setup "$config" "$device"
}
-ppp_teardown() {
+proto_ppp_teardown() {
ppp_generic_teardown "$@"
}
-pppoe_init_config() {
+proto_pppoe_init_config() {
ppp_generic_init_config
proto_config_add_string "ac"
proto_config_add_string "service"
}
-pppoe_setup() {
+proto_pppoe_setup() {
local config="$1"
local iface="$2"
@@ -135,11 +135,11 @@ pppoe_setup() {
"nic-$iface"
}
-pppoe_teardown() {
+proto_pppoe_teardown() {
ppp_generic_teardown "$@"
}
-pppoa_init_config() {
+proto_pppoa_init_config() {
ppp_generic_init_config
proto_config_add_int "atmdev"
proto_config_add_int "vci"
@@ -147,7 +147,7 @@ pppoa_init_config() {
proto_config_add_string "encaps"
}
-pppoa_setup() {
+proto_pppoa_setup() {
local config="$1"
local iface="$2"
@@ -171,7 +171,7 @@ pppoa_setup() {
${encaps}
}
-pppoa_teardown() {
+proto_pppoa_teardown() {
ppp_generic_teardown "$@"
}