summaryrefslogtreecommitdiff
path: root/src/pam_radius_auth.h
diff options
context:
space:
mode:
authorDave Olson <olson@cumulusnetworks.com>2018-02-27 14:40:22 -0800
committerDave Olson <olson@cumulusnetworks.com>2018-02-27 18:46:07 -0800
commit8e021b7a98234a58ecb18c523a3fc22b8b055ecf (patch)
tree0a486aa5685eff08a4dadc8a92142bd08d1c2ef4 /src/pam_radius_auth.h
parenta56320d97bcca3b6032b875008396c24f40eb5c4 (diff)
downloadlibpam-radius-auth-8e021b7a98234a58ecb18c523a3fc22b8b055ecf.tar.gz
libpam-radius-auth-8e021b7a98234a58ecb18c523a3fc22b8b055ecf.zip
Use pam_syslog instead of formatting ourselves
Ticket: CM-19908 Reviewed By: Testing Done: installed, looked at logs See the bug for background, but basicly it's better to use the normal APIs. Unlike the tacacs client, this wasn't doing openlog/closelog, but it makes sense to have them all using the same logging.
Diffstat (limited to 'src/pam_radius_auth.h')
-rw-r--r--src/pam_radius_auth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h
index 887b8ad..8f389b5 100644
--- a/src/pam_radius_auth.h
+++ b/src/pam_radius_auth.h
@@ -17,6 +17,7 @@
#include <ctype.h>
#include <stdlib.h>
#include <syslog.h>
+#include <security/pam_ext.h>
#include <stdarg.h>
#include <utmp.h>
#include <time.h>