(redacted) <div dir="ltr"><div><div>Hi,<br><br>I suspect you are using an old version.<br><br></div>if2dd2d2f works fine in 4.0.3 and master.<br><br></div><div>Cheers.<br></div><div><br></div>PS: in the future please use varnish-dev or trac for bug reports.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 12, 2015 at 4:17 PM, Chris Topher <span dir="ltr"><<a href="mailto:chrismmonteiro1@gmail.com" target="_blank">chrismmonteiro1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div link="blue" vlink="purple" lang="EN-GB">
<div>
<p class="MsoNormal">Hi there</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I used dynamically named servers on EC2, my varnish bootstrap setup configures the vcl according to the server name e.g.</p>
<p class="MsoNormal">i-f2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Varnish doesn’t like the hyphen in the back end name, so I replace it out, fair enough:</p>
<p class="MsoNormal">if2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Now it fails because the back end server name has the function ‘if’ in it!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I now replace this out to:</p>
<p class="MsoNormal">lol2dd2d2f</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I think it may be a bug that the ‘if’ function is interpreted in a back end variable definition like this.</p>
</div>
<br>
<hr>
<font face="Arial" size="1" color="Gray"><br>
</font>
<br><br><span style="font-family:Arial;Font-size:8.0pt"> <hr> This email has been scanned for email related threats and delivered safely by Mimecast.<br> For more information please visit <a href="http://www.mimecast.com" target="_blank">http://www.mimecast.com</a> <hr> </span></div>

<br>_______________________________________________<br>
varnish-bugs mailing list<br>
<a href="mailto:varnish-bugs@varnish-cache.org">varnish-bugs@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs" rel="noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs</a><br></blockquote></div><br></div>