CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/08/25 05:03:49

Modified files:
        sbin/dhcpleased: engine.c 

Log message:
Validate the IP address the dhcp server acks.

[email protected] points out that a rogue dhcp server can trick
dhcpleased into holding on to a lease indefinitely since it looses
track which IP is actually configured.

Diff provided by acts1631 as well, thanks!

While here, remove checking for yiaddr being absent (i.e. INADDR_ANY)
because that check is now redundant.

Reply via email to