summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/option_ip_test.go
AgeCommit message (Collapse)Author
2019-01-24dhcpv4: nicer API for option parsing.Christopher Koch
From: r := d.GetOneOption(OptionRouter).(*OptRouter).Routers d.UpdateOption(&OptRouter{Routers: []net.IP{net.IP{192, 168, 0, 1}}}) To: r := GetRouter(d.Options) d.UpdateOption(OptRouter(net.IP{192, 168, 0, 1}, ...))
2019-01-19dhcpv4: consolidate all IP options into one file.Christopher Koch