All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ppp: ignore unrecognised radiusclient configuration directives
@ 2012-08-30 23:24 Charlie Brady
  2012-11-23 16:40 ` Charlie Brady
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Charlie Brady @ 2012-08-30 23:24 UTC (permalink / raw)
  To: linux-ppp


New versions of freeradius occasionally add configuration keywords. 
There's no reason that the pppd plugin should fail when that occurs.

Signed-off-by:  Charlie Brady <charlieb@budge.apana.org.au>

--- ppp-2.4.5.rhel6/pppd/plugins/radius/config.c        2009-11-16 17:26:07.000000000 -0500
+++ ppp-2.4.5/pppd/plugins/radius/config.c      2012-08-30 16:59:19.911025000 -0400
@@ -216,8 +216,8 @@
                p[pos] = '\0';
 
                if ((option = find_option(p, OT_ANY)) = NULL) {
-                       error("%s: line %d: unrecognized keyword: %s", filename, line, p);
-                       return (-1);
+                       warn("%s: line %d: unrecognized keyword: %s", filename, line, p);
+                       continue;
                }
 
                if (option->status != ST_UNDEF) {


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-03  2:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 23:24 [PATCH] ppp: ignore unrecognised radiusclient configuration directives Charlie Brady
2012-11-23 16:40 ` Charlie Brady
2013-02-01 19:35 ` Charlie Brady
2013-02-02  9:49 ` walter harms
2013-02-03  2:28 ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.