<div class="gmail_quote">On Tue, Jan 25, 2011 at 8:44 AM, Peter Holland <span dir="ltr"><<a href="mailto:pholland@skytap.com">pholland@skytap.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="gmail_quote">So, yes, quoting the string in the dhcpd.conf file does make the parser happy. Thank you for the suggestion. Much appreciated.</div><div>Cheers,</div><div>Pete</div></blockquote><div><br></div><div>
The difference in providing the quotations is that the entire base64 value is handed to the base64 parser from the config lexer as one token - a string - since base64 strings can have recognizable tokens for DHCP parsing it has to read lexicons several times and form a chain of strings to process.</div>
<div><br></div><div>If adding the quotes changes the behavior, then you're looking at a bug in how these tokens are chained, but I couldn't say what precisely. My first guess would be you've got an ascii character come lexical token that wasn't a lexicon when the parser was first written but was added later. So the list of tokens to continue reading lexicons is incomplete and it stops reading early.</div>
<div><br></div></div>-- <br><div>David W. Hankins</div><div>SRE</div><div>Google, Inc.</div>