hostapd: Update ctrl_interface for UDP to include the selected port
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 4 Mar 2016 09:20:28 +0000 (10:20 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 5 Mar 2016 15:44:49 +0000 (17:44 +0200)
commit180e5b96c3c880296292558342760be0530b90db
tree54f474e0f7a94749b404b35126b5c041bc1f6889
parent56e2fc2c31aa36ccc60e87868365f3f36ebbb42b
hostapd: Update ctrl_interface for UDP to include the selected port

Set up the real ctrl_interface for UDP after having selected the port.
This is in format: udp:<port_no>. This is needed to get accurate
interface <-> udp_port mapping.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
hostapd/ctrl_iface.c