o Allow `set mrru'' or
`set mrru 0'' to disable
multi-link mode. o Fix a typo in the ``set mrru'' description.
This commit is contained in:
parent
a33b2ef772
commit
c12b786782
@ -17,7 +17,7 @@
|
||||
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
* $Id: command.c,v 1.145 1998/06/16 19:40:26 brian Exp $
|
||||
* $Id: command.c,v 1.146 1998/06/16 19:40:35 brian Exp $
|
||||
*
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
@ -124,7 +124,7 @@
|
||||
#define NEG_DNS 50
|
||||
|
||||
const char Version[] = "2.0-beta";
|
||||
const char VersionDate[] = "$Date: 1998/06/16 19:40:26 $";
|
||||
const char VersionDate[] = "$Date: 1998/06/16 19:40:35 $";
|
||||
|
||||
static int ShowCommand(struct cmdargs const *);
|
||||
static int TerminalCommand(struct cmdargs const *);
|
||||
@ -1283,7 +1283,7 @@ SetVariable(struct cmdargs const *arg)
|
||||
log_Printf(LogWARN, "mrru: Only changable at phase DEAD\n");
|
||||
else {
|
||||
ulong_val = atol(argp);
|
||||
if (ulong_val < MIN_MRU)
|
||||
if (ulong_val && ulong_val < MIN_MRU)
|
||||
err = "Given MRRU value (%lu) is too small.\n";
|
||||
else if (ulong_val > MAX_MRU)
|
||||
err = "Given MRRU value (%lu) is too big.\n";
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $Id: ppp.8,v 1.105 1998/06/15 19:05:27 brian Exp $
|
||||
.\" $Id: ppp.8,v 1.106 1998/06/16 19:40:28 brian Exp $
|
||||
.Dd 20 September 1995
|
||||
.Os FreeBSD
|
||||
.Dt PPP 8
|
||||
@ -2941,20 +2941,17 @@ It is not possible to change a link that is
|
||||
.Sq direct
|
||||
or
|
||||
.Sq dedicated .
|
||||
.It set mrru Ar value
|
||||
.It set mrru Op Ar value
|
||||
Setting this option enables Multi-link PPP negotiations, also known as
|
||||
Multi-link Protocol or MP. There is no default MRRU (Maximum
|
||||
Reconstructed Receive Unit) value.
|
||||
.Em PPP
|
||||
protocol *must* be able to accept packets of at
|
||||
least 1500 octets.
|
||||
Reconstructed Receive Unit) value. If no argument is given, multi-link
|
||||
mode is disabled.
|
||||
.It set mru Ar value
|
||||
The default MRU (Maximum Receive Unit) is 1500. If it is increased, the
|
||||
other side *may* increase its mtu. There is no point in decreasing the
|
||||
MRU to below the default as the
|
||||
.Em PPP
|
||||
protocol *must* be able to accept packets of at
|
||||
least 1500 octets.
|
||||
protocol *must* be able to accept packets of at least 1500 octets.
|
||||
.It set mtu Ar value
|
||||
The default MTU is 1500. At negotiation time,
|
||||
.Nm
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $Id: ppp.8,v 1.105 1998/06/15 19:05:27 brian Exp $
|
||||
.\" $Id: ppp.8,v 1.106 1998/06/16 19:40:28 brian Exp $
|
||||
.Dd 20 September 1995
|
||||
.Os FreeBSD
|
||||
.Dt PPP 8
|
||||
@ -2941,20 +2941,17 @@ It is not possible to change a link that is
|
||||
.Sq direct
|
||||
or
|
||||
.Sq dedicated .
|
||||
.It set mrru Ar value
|
||||
.It set mrru Op Ar value
|
||||
Setting this option enables Multi-link PPP negotiations, also known as
|
||||
Multi-link Protocol or MP. There is no default MRRU (Maximum
|
||||
Reconstructed Receive Unit) value.
|
||||
.Em PPP
|
||||
protocol *must* be able to accept packets of at
|
||||
least 1500 octets.
|
||||
Reconstructed Receive Unit) value. If no argument is given, multi-link
|
||||
mode is disabled.
|
||||
.It set mru Ar value
|
||||
The default MRU (Maximum Receive Unit) is 1500. If it is increased, the
|
||||
other side *may* increase its mtu. There is no point in decreasing the
|
||||
MRU to below the default as the
|
||||
.Em PPP
|
||||
protocol *must* be able to accept packets of at
|
||||
least 1500 octets.
|
||||
protocol *must* be able to accept packets of at least 1500 octets.
|
||||
.It set mtu Ar value
|
||||
The default MTU is 1500. At negotiation time,
|
||||
.Nm
|
||||
|
Loading…
Reference in New Issue
Block a user