alex
|
439192058e
|
Add 16 dnsmasq options, fix srv→srv-host, expand tests
- DnsmasqConfKeys: add ReadEthers, DhcpOptionForce, DhcpMac, DhcpNameMatch,
DhcpIgnoreNames, Ipset, Nftset, MxTarget, TftpNoFail, TftpNoBlocksize,
DhcpRapidCommit, Localmx, Selfmx, EnableRa, LogDhcp, DhcpScript.
Fix SRV option key: srv → srv-host (dnsmasq uses srv-host).
- Effective config: new multi-value, flags, single-value fields and sources;
ConfigSetCache, EffectiveConfigFieldBuilder, Registry, Tooltips updated.
- Tests: split DnsmasqConfIncludeParserTests into focused classes
(CoreBehaviour, Include, HostsAndLease, SingleValue, Records, Interfaces,
ServerAndResolv, DhcpTftpDnssec, Flags, OfficialExample, NewOptions).
Rename *_ParsesRealExample to *_WhenSet_ReturnsValue(s).
Add DnsmasqConfIncludeParserOfficialExampleTests (dnsmasq.official.conf.example).
Add DnsmasqConfIncludeParserNewOptionsTests (positive tests for 16 options).
EffectiveDnsmasqConfigTests: extend CreateConfig for new constructor params.
- Testdata: add dnsmasq.official.conf.example; update README.
|
2026-02-12 02:14:33 +10:00 |
|