Add Framed-IP-Address to Accounting-Request if STA address is known
authorJouni Malinen <j@w1.fi>
Sat, 17 Oct 2015 16:53:29 +0000 (19:53 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 17 Oct 2015 16:53:29 +0000 (19:53 +0300)
commit1166b20c95bf7fbceabb646d6f915afb5fbbcce0
treeac2ce22bc8b7fba4661d28b92b33ae9d64a5a30e
parentdd0d294d2f341c30a4b18db11385ac85525bc65c
Add Framed-IP-Address to Accounting-Request if STA address is known

The recently added ProxyARP support (proxy_arp=1) in hostapd allows a
STA IPv4 address to be learned from DHCP or ARP messages. If that
information is available, add it to Account-Request messages in
Framed-IP-Address attribute.

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