[uClinux-dev] pppd patch
Peter Mack
Peter.Mack at scs-ptc.com
Sat Feb 9 06:54:20 EST 2008
Hi,
here is a patch against 20080131 to fix two pppd issues.
Tested on Freescale M5282EVB target.
Regards
Peter
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
More information about the uClinux-dev
mailing list