]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS server: Copy IPv4 address only when IPv6 is not used
authorJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 15:01:32 +0000 (17:01 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 2 Mar 2014 15:15:12 +0000 (17:15 +0200)
commit773816395198339d710648278e7f2f087103217a
tree6600fe9b9c88accb8433632114f6900d8257466d
parent508e24c20b481b5a63e65b05c20a61d8a067c760
RADIUS server: Copy IPv4 address only when IPv6 is not used

The local addr variable is valid only when !ipv6, so there is no point
in copying it for the IPv6 case.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/radius/radius_server.c