summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 63028de)
raw | patch | inline | side by side (parent: 63028de)
author | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 23 Jan 2007 16:42:01 +0000 (16:42 +0000) | ||
committer | Holger Weiss <hweiss@users.sourceforge.net> | |
Tue, 23 Jan 2007 16:42:01 +0000 (16:42 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1576 f882894a-f735-0410-b71e-b25c423dba1c
THANKS.in | patch | blob | history | |
plugins/check_radius.c | patch | blob | history |
diff --git a/THANKS.in b/THANKS.in
index 0d0f4a550120c0a5d631acda79dfa444dee5b030..584fee08a9521f5d24b7a90f8aaffca28ddcacb1 100644 (file)
--- a/THANKS.in
+++ b/THANKS.in
Sebastian Schubert
Jason Hoos
Chris Grim
+Nobuhiro Ban
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index 6d42e1d31e068c1cd7eaf2ab0f5607faa9c32874..b1bb928f3e31484b9966538d2f35bc6cadcfd2a0 100644 (file)
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
service = PW_AUTHENTICATE_ONLY;
+ memset (&data, 0, sizeof(data));
if (!(rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&
rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) &&
rc_avpair_add (&data.send_pairs, PW_USER_PASSWORD, password, 0) &&