hostapd: Allow UDP ctrl_iface configuration to set the UDP port
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 4 Mar 2016 09:20:25 +0000 (10:20 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 5 Mar 2016 15:44:43 +0000 (17:44 +0200)
commitb9066c638af5daf74e7ce64bd441aebf8572ee41
treef29aa54331249636aa16d6ba55c4a289294cbaae
parent56885eecf4026b0199d5ba75bd50395a17d323cc
hostapd: Allow UDP ctrl_iface configuration to set the UDP port

This allows the UDP port to be set for the per-interface and global
control interfaces. The format is: udp:<port_no>

For example:
hostapd -ddt -g udp:8888

And in the configuration file:
ctrl_interface=udp:8877

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