aboutsummaryrefslogtreecommitdiffstats
path: root/net/tac_plus-libradius/files/patch-parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tac_plus-libradius/files/patch-parse.c')
-rw-r--r--net/tac_plus-libradius/files/patch-parse.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/tac_plus-libradius/files/patch-parse.c b/net/tac_plus-libradius/files/patch-parse.c
new file mode 100644
index 00000000000..e48bfe1218d
--- /dev/null
+++ b/net/tac_plus-libradius/files/patch-parse.c
@@ -0,0 +1,23 @@
+--- ./parse.c.orig 2001-03-16 09:14:21.000000000 +0100
++++ ./parse.c 2011-08-29 00:31:55.000000000 +0200
+@@ -99,6 +99,9 @@
+ #ifdef USE_LDAP
+ declare ("ldap", S_ldap);
+ #endif
++#ifdef USE_RADIUS
++ declare ("radius",S_radius);
++#endif
+ declare("member", S_member);
+ declare("message", S_message);
+ declare("name", S_name);
+@@ -178,6 +181,10 @@
+ case S_ldap:
+ return ("ldap");
+ #endif
++#ifdef USE_RADIUS
++ case S_radius:
++ return ("radius");
++#endif
+ case S_expires:
+ return ("expires");
+ case S_after: