RADIUS server: Fix IPv6 radiusAuthClientAddress mask
Incorrect buffer was used when writing the IPv6 mask for RADIUS server MIB information (CID 72707). Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5e62cfdf75
commit
c9cd78e5a1
1 changed files with 1 additions and 1 deletions
|
@ -1926,7 +1926,7 @@ int radius_server_get_mib(struct radius_server_data *data, char *buf,
|
|||
if (inet_ntop(AF_INET6, &cli->addr6, abuf,
|
||||
sizeof(abuf)) == NULL)
|
||||
abuf[0] = '\0';
|
||||
if (inet_ntop(AF_INET6, &cli->mask6, abuf,
|
||||
if (inet_ntop(AF_INET6, &cli->mask6, mbuf,
|
||||
sizeof(mbuf)) == NULL)
|
||||
mbuf[0] = '\0';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue