diff options
Diffstat (limited to 'plugins/check_radius.c')
-rw-r--r-- | plugins/check_radius.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/check_radius.c b/plugins/check_radius.c index 6d42e1d3..b1bb928f 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -139,6 +139,7 @@ main (int argc, char **argv) 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) && |