Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dhcp/internal: handle localhost and 0.0.0.0 DNS/NTP servers specially
- regarding the DHCP options, we should not suppress them. If the lease contains such bogus(?) addresses, we still want to expose them on D-Bus without modification. - regrading using the DNS server, ignore localhost addresses like done for systemd-networkd ([1], [2]). Until recently, the DHCP library would internally suppress such addresses ([3]). That is no longer the case, and we should handle them specially. [1] Systemd-pull-requst #4524 [2] systemd/systemd@d9ec2e6 [3] Systemd-pull-request #11208
- Loading branch information