OK, sounds like there may be a bug. I'll try and reproduce this in the next day or two.
Cheers, Simon. On 07/03/18 11:39, Lindgren Fredrik wrote: > I'm doing verification after removal in same way as when I add it, hence > debug output from dnsmasq process and dhcpdump capture > > > /Fredrik > > > ------------------------------------------------------------------------ > *Från:* Dnsmasq-discuss > <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> för Andy Hawkins > <a...@gently.org.uk> > *Skickat:* den 7 mars 2018 11:13 > *Till:* email@example.com > *Ämne:* Re: [Dnsmasq-discuss] Dnsmasq dhcp-optsdir remove options problem > > Hi, > > In article > <he1pr0401mb2313f920fec799628c3694ca8c...@he1pr0401mb2313.eurprd04.prod.outlook.com>, > Lindgren Fredrik<fredrik.lindg...@tieto.com> wrote: >> What I did to test this was to add "option:router,10.243.0.1" to a new opti= >> on file. >> >> Which is re-read by dnsmasq >> >> >> I start a dhclient that I'm testing with, output in console of dnsmasq indi= >> cate that router entry is part of response (also seen in dhcpdump of packag= >> e) >> >> I stop the dhclient and remove the config file with this option and send SI= >> GHUP to pid for dnsmasq >> >> Then start the dhclient again and still see the router entry being sent. > > When you say "still see the router entry being sent" are you just checking > the resulting IP configuration on the client, or are you actually capturing > the DHCP response with Wireshark or similar? > > If you haven't captured the actual response on the wire, that'd be my next > step to see if it's the client that's somehow remembering the information. > > Andy > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasqfirstname.lastname@example.org > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > Dnsmasq-discuss Info Page > <http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss> > lists.thekelleys.org.uk > A list for discussion about the dnsmasq DNS and DHCP server. > Configuration, bugs and development. To control spam, only subscribers > are allowed to post to the list. > > > > > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasqemail@example.com > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > _______________________________________________ Dnsmasq-discuss mailing list Dnsmasqfirstname.lastname@example.org http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss