From ee722b868cf24f38577ffb17af99360dd360f55f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20L=C3=B6per?= Date: Tue, 3 Sep 2019 18:18:59 +0200 Subject: [PATCH] Add dhcp-option for captive-portal discovery on mobile devices Refer to https://tools.ietf.org/html/rfc7710 --- iotwifi/commands.go | 1 + 1 file changed, 1 insertion(+) diff --git a/iotwifi/commands.go b/iotwifi/commands.go index c3f36a0..0fcb4c6 100644 --- a/iotwifi/commands.go +++ b/iotwifi/commands.go @@ -74,6 +74,7 @@ func (c *Command) StartDnsmasq() { "--dhcp-vendorclass=" + c.SetupCfg.DnsmasqCfg.VendorClass, "--dhcp-authoritative", "--log-facility=-", + "--dhcp-option=160,192.168.0.111", // see: https://tools.ietf.org/html/rfc7710 } cmd := exec.Command("dnsmasq", args...)