diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-03-12 19:34:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-12 19:34:50 (GMT) |
commit | 0c54644f6aab69066fb14a633d46aa8b6bf8c0f0 (patch) | |
tree | 56cdb4793a8a4d807349213e59fade371c63b8ac /plugins/check_radius.c | |
parent | 73c24a393b79940b109b3c3608a4008a7fca44f4 (diff) | |
parent | 75342b53853a898bdd93c7d3da9374115bab6b6d (diff) | |
download | monitoring-plugins-0c54644f6aab69066fb14a633d46aa8b6bf8c0f0.tar.gz |
Merge pull request #1842 from sthen/patch-1
check_radius: cope with radcli-1.3.1 RC_BUFFER_LEN
Diffstat (limited to 'plugins/check_radius.c')
-rw-r--r-- | plugins/check_radius.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index be1001b..96a9555 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; |