Subject: Re: PR/9945: typo in if_ppp.c?
To: Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
From: Ignatios Souvatzis <is@beverly.kleinbus.org>
List: tech-net
Date: 10/25/2000 22:23:48
On Wed, Oct 25, 2000 at 03:17:59PM +0200, Thomas Klausner wrote:

> Could someone please verify that PR #9945 really just reports a typo?
> I'm pretty sure it's okay, but since it's not my area of expertise,
> I'd be happy to have some verification.
> 
> The actual diff looks like this:
> 
> --- if_ppp.c.orig	Thu Apr 20 12:24:21 2000
> +++ if_ppp.c	Wed Apr 19 22:27:36 2000
> @@ -395,7 +395,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;

This patch looks right to me.

Regards,
	-is