[package] fix ppp and pptp typos where is used instead of (#4768, #4778)
[openwrt/svn-archive/archive.git] / package / ppp / files / pppoa.sh
index 8c66250da5c9aa8d2dd038c013ff1800fa3eaf44..65c5c2db3319438e3ae93a962dbe6cc1468eb0ba 100644 (file)
@@ -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} \