Make MTU default to 1492 when ppp_mtu nvram variable is not set
SVN-Revision: 1606
This commit is contained in:
parent
6ece388d80
commit
e0f3c67024
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ while :; do
|
|||
IDLETIME=$(nvram get ppp_idletime)
|
||||
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
|
||||
MTU=$(nvram get ppp_mtu)
|
||||
MTU=${MTU:-1492}
|
||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||
|
||||
ifconfig $IFNAME up
|
||||
|
|
Loading…
Reference in a new issue