mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-27 12:31:03 +00:00
a570a139d5a715543e063e1e771a5a09e10b2a2b
split() replaces the comma with a space and then writes a NUL over every space before it, so "a.example ,target.example" becomes "a.example\0\0target.example". The --cname loop steps over one NUL and the following spaces only, stops on the second NUL and adds an empty alias, i.e., a CNAME for the root name. A second such entry is then rejected as "duplicate CNAME". Step over the NULs, too. Signed-off-by: DL6ER <dl6er@dl6er.de>
Languages
C
94.3%
Perl
2.2%
HTML
1.2%
Shell
1%
Makefile
0.6%
Other
0.6%