From e72ee1c095bc8b818beca9f0a3cbe450c4b4648e Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Fri, 2 Mar 2007 15:33:27 +0000 Subject: - Update to 1.4.6 PR: ports/109731 Submitted by: Jarrod Sayers (maintainer) --- net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'net-mgmt/nagios-plugins/files/patch-plugins__check_radius.c') 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) && -- cgit v1.2.3