aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2002-05-04 19:38:43 +0000
committerBrian Somers <brian@FreeBSD.org>2002-05-04 19:38:43 +0000
commite1e3d2ca69bb7eab109224e317d50390822b4ac3 (patch)
tree3727a9f7647d18d61682db3159f97df8984fbe7d /usr.sbin
parente31c615c602e0da364624ee5c71179ae24f6d599 (diff)
downloadsrc-e1e3d2ca69bb7eab109224e317d50390822b4ac3.tar.gz
src-e1e3d2ca69bb7eab109224e317d50390822b4ac3.zip
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
Notes
Notes: svn path=/head/; revision=96038
Diffstat (limited to 'usr.sbin')
-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 d95f7f9c1882..8f6c5e83b067 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},