]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use names for logging parameters, and correct values
authorAlan T. DeKok <aland@freeradius.org>
Wed, 22 Feb 2012 08:25:18 +0000 (09:25 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 23 Feb 2012 12:05:46 +0000 (13:05 +0100)
src/modules/rlm_perl/example.pl

index f4cf13fe4daade7026ef9c82b844bbc902057d92..82f3f5ddc15ed3d2b577ff849e25feb09a6fcf4b 100644 (file)
@@ -66,6 +66,14 @@ use constant L_ERR=>   4;
 use constant   L_PROXY=> 5;
 use constant   L_ACCT=>  6;
 
+# Same as src/include/radiusd.h
+use constant   L_DBG=>   1;
+use constant   L_AUTH=>  2;
+use constant   L_INFO=>  3;
+use constant   L_ERR=>   4;
+use constant   L_PROXY=> 5;
+use constant   L_ACCT=>  6;
+
 #  Global variables can persist across different calls to the module.
 #
 #