diff options
author | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-20 16:12:51 +0100 |
---|---|---|
committer | sarthurdev <965089+sarthurdev@users.noreply.github.com> | 2023-02-20 16:12:51 +0100 |
commit | 5990bdd349953796bfcad8a58ebb547fdd72312f (patch) | |
tree | 5d5ea51ef293d3a3f81256e36faf10f3e7db40b6 | |
parent | c21a94f7b20f66c375191b7359507a54b3b1680a (diff) | |
download | libpam-radius-auth-5990bdd349953796bfcad8a58ebb547fdd72312f.tar.gz libpam-radius-auth-5990bdd349953796bfcad8a58ebb547fdd72312f.zip |
debian: T5003: Fix GCC build issue on Bookworm
-rw-r--r-- | src/pam_radius_auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c index d98efb1..ed6c5a0 100644 --- a/src/pam_radius_auth.c +++ b/src/pam_radius_auth.c @@ -994,7 +994,7 @@ static void build_radius_packet(AUTH_HDR * request, CONST char *user, /* Perhaps add NAS IP Address (and v6 version) */ /* Add possibility use source-ip-address as NAS-IP-Address */ - if (conf->server->src_ip && strlen(conf->server->src_ip) > 0) + if (strlen(conf->server->src_ip) > 0) add_nas_ip_address(request, conf->server->src_ip); else add_nas_ip_address(request, hostname); |