summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2023-03-12 20:34:50 +0100
committerGitHub <noreply@github.com>2023-03-12 20:34:50 +0100
commit0c54644f6aab69066fb14a633d46aa8b6bf8c0f0 (patch)
tree56cdb4793a8a4d807349213e59fade371c63b8ac
parent73c24a393b79940b109b3c3608a4008a7fca44f4 (diff)
parent75342b53853a898bdd93c7d3da9374115bab6b6d (diff)
downloadmonitoring-plugins-0c54644f6aab69066fb14a633d46aa8b6bf8c0f0.tar.gz
Merge pull request #1842 from sthen/patch-1
check_radius: cope with radcli-1.3.1 RC_BUFFER_LEN
-rw-r--r--plugins/check_radius.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c
index be1001b4..96a95553 100644
--- a/plugins/check_radius.c
+++ b/plugins/check_radius.c
@@ -155,7 +155,11 @@ main (int argc, char **argv)
155{ 155{
156 struct sockaddr_storage ss; 156 struct sockaddr_storage ss;
157 char name[HOST_NAME_MAX]; 157 char name[HOST_NAME_MAX];
158#ifdef RC_BUFFER_LEN
159 char msg[RC_BUFFER_LEN];
160#else
158 char msg[BUFFER_LEN]; 161 char msg[BUFFER_LEN];
162#endif
159 SEND_DATA data; 163 SEND_DATA data;
160 int result = STATE_UNKNOWN; 164 int result = STATE_UNKNOWN;
161 uint32_t client_id, service; 165 uint32_t client_id, service;