summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-04 19:38:43 +0000
committerbrian <brian@FreeBSD.org>2002-05-04 19:38:43 +0000
commite2ff55c53062d93090863aec4b7785da86eaf30f (patch)
tree3727a9f7647d18d61682db3159f97df8984fbe7d /usr.sbin/ppp
parent536c2f0f7810ff7474423f46fb03661e363d1fb2 (diff)
downloadFreeBSD-src-e2ff55c53062d93090863aec4b7785da86eaf30f.zip
FreeBSD-src-e2ff55c53062d93090863aec4b7785da86eaf30f.tar.gz
Make ``set mru'' require a context. In multi-link mode, there's no
point in being allowed to ``set mru'' for the MP lcp layer. Spotted by: Richard Browne <richb@timestone.com.au> MFC after: 1 month
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/command.c b/usr.sbin/ppp/command.c
index d95f7f9..8f6c5e8 100644
--- a/usr.sbin/ppp/command.c
+++ b/usr.sbin/ppp/command.c
@@ -2319,7 +2319,7 @@ static struct cmdtab const SetCommands[] = {
"set mode interactive|auto|ddial|background", (const void *)VAR_MODE},
{"mrru", NULL, SetVariable, LOCAL_AUTH, "MRRU value",
"set mrru value", (const void *)VAR_MRRU},
- {"mru", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX_OPT,
+ {"mru", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX,
"MRU value", "set mru [max[imum]] [value]", (const void *)VAR_MRU},
{"mtu", NULL, SetVariable, LOCAL_AUTH | LOCAL_CX,
"interface MTU value", "set mtu [max[imum]] [value]", (const void *)VAR_MTU},
OpenPOWER on IntegriCloud