summaryrefslogtreecommitdiff
path: root/package/ppp/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp/files')
-rw-r--r--package/ppp/files/ppp.sh2
-rw-r--r--package/ppp/files/pppoa.sh2
-rw-r--r--package/ppp/files/pppoe.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/package/ppp/files/ppp.sh b/package/ppp/files/ppp.sh
index af01d44..bfa708d 100644
--- a/package/ppp/files/ppp.sh
+++ b/package/ppp/files/ppp.sh
@@ -77,7 +77,7 @@ setup_interface_ppp() {
config_get device "$config" device
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
mtu $mtu mru $mtu \
diff --git a/package/ppp/files/pppoa.sh b/package/ppp/files/pppoa.sh
index 8c66250..65c5c2d 100644
--- a/package/ppp/files/pppoa.sh
+++ b/package/ppp/files/pppoa.sh
@@ -20,7 +20,7 @@ setup_interface_pppoa() {
*) ENCAPS="llc-encaps" ;;
esac
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1500}
start_pppd "$config" \
plugin pppoatm.so ${vpi:-8}.${vci:-35} ${ENCAPS} \
diff --git a/package/ppp/files/pppoe.sh b/package/ppp/files/pppoe.sh
index e1c9a20..c0bb515 100644
--- a/package/ppp/files/pppoe.sh
+++ b/package/ppp/files/pppoe.sh
@@ -15,7 +15,7 @@ setup_interface_pppoe() {
config_get ifname "$config" ifname
set_interface_ifname "$config" "$ifname"
- config_get mtu "$cfg" mtu
+ config_get mtu "$config" mtu
mtu=${mtu:-1492}
start_pppd "$config" \
plugin rp-pppoe.so \