From 45164d8eef9d75f30333d1c5fb3ab3fc4514a367 Mon Sep 17 00:00:00 2001
From: Nigel Kukard <nkukard@lbsd.net>
Date: Mon, 27 Apr 2009 11:35:20 +0000
Subject: [PATCH] * Added debug message to say its PAP we using

---
 smradius/modules/authentication/mod_auth_pap.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/smradius/modules/authentication/mod_auth_pap.pm b/smradius/modules/authentication/mod_auth_pap.pm
index 03e3846f..6f708701 100644
--- a/smradius/modules/authentication/mod_auth_pap.pm
+++ b/smradius/modules/authentication/mod_auth_pap.pm
@@ -81,6 +81,8 @@ sub authenticate
 	# Check if this is PAP authentication
 	return MOD_RES_SKIP if (!defined($encPassword));
 
+	$server->log(LOG_DEBUG,"[MOD_AUTH_PAP] This is a PAP authentication request");
+
 #	print(STDERR "RECEIVED\n");
 #	print(STDERR "User-Pass: len = ".length($encPassword).", hex = ".unpack("H*",$encPassword)."\n");
 #	print(STDERR "\n\n");
-- 
GitLab