diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-02 15:33:27 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2007-03-02 15:33:27 +0000 |
commit | e72ee1c095bc8b818beca9f0a3cbe450c4b4648e (patch) | |
tree | e41966e0ca22b945c74acc7fc9276c32f1130193 /net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c | |
parent | - Update greeting patch (diff) |
- Update to 1.4.6
PR: ports/109731
Submitted by: Jarrod Sayers <jarrod at netleader.com.au> (maintainer)
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c')
-rw-r--r-- | net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c b/net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c index 4b7923285af6..9220d25fdb5f 100644 --- a/net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c +++ b/net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c @@ -1,6 +1,6 @@ ---- plugins/check_radius.c.orig Tue Jun 20 20:47:02 2006 -+++ plugins/check_radius.c Sat Oct 28 09:57:25 2006 -@@ -40,7 +40,7 @@ +--- plugins/check_radius.c.orig Mon Jan 29 08:16:40 2007 ++++ plugins/check_radius.c Tue Feb 27 21:36:09 2007 +@@ -43,7 +43,7 @@ #include "utils.h" #include "netutils.h" @@ -9,7 +9,7 @@ int process_arguments (int, char **); void print_help (void); -@@ -121,6 +121,7 @@ +@@ -124,6 +124,7 @@ int result = STATE_UNKNOWN; UINT4 client_id; char *str; @@ -17,7 +17,7 @@ setlocale (LC_ALL, ""); bindtextdomain (PACKAGE, LOCALEDIR); -@@ -130,32 +131,35 @@ +@@ -133,33 +134,36 @@ usage4 (_("Could not parse arguments")); str = strdup ("dictionary"); @@ -32,6 +32,7 @@ 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) && |