Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix typo (thinko?), which didn't allow MRU to be set...
details: https://anonhg.NetBSD.org/src/rev/2441a3a425e4
branches: trunk
changeset: 498460:2441a3a425e4
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Oct 26 01:26:15 2000 +0000
description:
Fix typo (thinko?), which didn't allow MRU to be set below the default
value (instead of the minimum value). Patch supplied by Stephen Degler
in PR #9945, and reviewed by Ignatios Souvatzis.
diffstat:
sys/net/if_ppp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r db596763187f -r 2441a3a425e4 sys/net/if_ppp.c
--- a/sys/net/if_ppp.c Wed Oct 25 15:55:44 2000 +0000
+++ b/sys/net/if_ppp.c Thu Oct 26 01:26:15 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ppp.c,v 1.61 2000/10/06 04:49:53 onoe Exp $ */
+/* $NetBSD: if_ppp.c,v 1.62 2000/10/26 01:26:15 wiz Exp $ */
/* Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp */
/*
@@ -392,7 +392,7 @@
if ((error = suser(p->p_ucred, &p->p_acflag)) != 0)
return (error);
mru = *(int *)data;
- if (mru >= PPP_MRU && mru <= PPP_MAXMRU)
+ if (mru >= PPP_MINMRU && mru <= PPP_MAXMRU)
sc->sc_mru = mru;
break;
Home |
Main Index |
Thread Index |
Old Index