summaryrefslogtreecommitdiffstats
path: root/web/attachments/212731-check_radius.c.diff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/212731-check_radius.c.diff
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/212731-check_radius.c.diff')
-rw-r--r--web/attachments/212731-check_radius.c.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/web/attachments/212731-check_radius.c.diff b/web/attachments/212731-check_radius.c.diff
new file mode 100644
index 0000000..b9f70f3
--- /dev/null
+++ b/web/attachments/212731-check_radius.c.diff
@@ -0,0 +1,10 @@
1--- nagios-plugins-HEAD-200610282352/plugins/check_radius.c.orig 2006-10-20 08:53:28.000000000 +0900
2+++ nagios-plugins-HEAD-200610282352/plugins/check_radius.c 2006-10-29 17:30:31.000000000 +0900
3@@ -139,6 +139,7 @@
4
5 service = PW_AUTHENTICATE_ONLY;
6
7+ memset (&data, 0, sizeof data);
8 if (!(rc_avpair_add (&data.send_pairs, PW_SERVICE_TYPE, &service, 0) &&
9 rc_avpair_add (&data.send_pairs, PW_USER_NAME, username, 0) &&
10 rc_avpair_add (&data.send_pairs, PW_USER_PASSWORD, password, 0) &&