[Dnsmasq-discuss] [PATCH] Fix logic of appending ".<layer>" to PXE basename

Chris Novakovic chris at chrisn.me.uk
Mon Jun 5 22:35:32 BST 2017


Commit f77700aa, which fixes a compiler warning, also breaks the
behaviour of prepending ".<layer>" to basenames in --pxe-service: in
situations where the basename contains a ".", the ".<layer>" suffix is
erroneously added, and in situations where the basename doesn't contain
a ".", the ".<layer>" suffix is erroneously omitted.

A patch against the git HEAD is attached that inverts this logic and
restores the expected behaviour of --pxe-service.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-logic-of-appending-.-layer-to-PXE-basename.patch
Type: text/x-patch
Size: 1398 bytes
Desc: not available
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20170605/3c8d5b48/attachment.bin>


More information about the Dnsmasq-discuss mailing list