[uClinux-dev] pppd patch

Greg Ungerer gerg at snapgear.com
Sun Feb 10 22:49:13 EST 2008


Hi Peter,

Peter Mack wrote:
> here is a patch against 20080131 to fix two pppd issues.
> 
> Tested on Freescale M5282EVB target.

Thanks, applied.

Regards
Greg



> diff -Naur a/user/pppd/pppd/auth.c b/user/pppd/pppd/auth.c
> --- a/user/pppd/pppd/auth.c     2008-02-02 21:14:59.000000000 +0100
> +++ b/user/pppd/pppd/auth.c     2008-02-08 16:58:56.000000000 +0100
> @@ -401,10 +401,11 @@
>        "Set telephone number(s) which are allowed to connect",
>        OPT_PRIV | OPT_A2LIST },
>  
> +#ifdef USE_PAM
>      { "pamservice", o_string, pamservice,
>        "Set PAM service for authentication", OPT_PRIO | OPT_STATIC,
>        &explicit_pamservice, MAXNAMELEN },
> -
> +#endif
>      { NULL }
>  };
>  
> diff -Naur a/user/pppd/pppd/plugins/radius/Makefile.linux 
> b/user/pppd/pppd/plugins/radius/Makefile.linux
> --- a/user/pppd/pppd/plugins/radius/Makefile.linux      2008-02-02 
> 21:14:59.000000000 +0100
> +++ b/user/pppd/pppd/plugins/radius/Makefile.linux      2008-02-09 
> 12:19:45.000000000 +0100
> @@ -24,7 +24,9 @@
>  # MS-CHAP authentication protocol.
>  CHAPMS=y
>  # Uncomment the next line to include support for MPPE.
> -MPPE=y
> +ifeq ($(CONFIG_USER_PPPD_WITH_MPPE),y)                                                                                  
> +MPPE=y                                                                                                                  
> +endif                                                                                                                   
>  # Uncomment the next lint to include support for traffic limiting
>  MAXOCTETS=y
>  
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 

-- 
------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com


More information about the uClinux-dev mailing list