To support captive portal implementation scenario, we need hotspot creation without spawning the default DHCP and forwarding DNS server. A shortcut solution for this is to add a new optional address argument to the WifiDevice::create_hotspot method. If an address is specified, the hotspot ipv4 connection will be created in manual mode instead of shared, and thus the interface will not be NAT-ed to the current default connection and dnsmasq will not be started.
To support captive portal implementation scenario, we need hotspot creation without spawning the default DHCP and forwarding DNS server. A shortcut solution for this is to add a new optional address argument to the
WifiDevice::create_hotspot
method. If an address is specified, the hotspot ipv4 connection will be created inmanual
mode instead ofshared
, and thus the interface will not be NAT-ed to the current default connection and dnsmasq will not be started.