Skip to content

Commit

Permalink
Add dhcp-option for captive-portal discovery on mobile devices
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinLoeper authored Sep 3, 2019
1 parent a8f03e5 commit ee722b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions iotwifi/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
Expand Down

0 comments on commit ee722b8

Please sign in to comment.