diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-05-04 19:38:43 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-05-04 19:38:43 +0000 |
commit | e1e3d2ca69bb7eab109224e317d50390822b4ac3 (patch) | |
tree | 3727a9f7647d18d61682db3159f97df8984fbe7d /usr.sbin | |
parent | e31c615c602e0da364624ee5c71179ae24f6d599 (diff) | |
download | src-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.c | 2 |
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}, |