<div dir="ltr">Hi,<div><br></div><div style>I need to define variables as string explicitly.</div><div style><br></div><div style>What I have in the code:</div><div style><br></div><div style>in prefix_list is 123,456,789</div>
<div style>$var(matched_prefix) = $(var(prefix_list){s.select,$var(i),,});</div><div style><br></div><div style>then in MAIN route:</div><div style><br></div><div style>$var(matched_prefix) = route(INCOMING_AUTH);<br></div>
<div style><br></div><div style>and this check</div><div style><br></div><div style>if ($var(matched_prefix) != "nullprefix")<br></div><div style><br></div><div style>returns:</div><div style><br></div><div style>
<div>WARNING: <core> [rvalue.c:1012]: automatic string to int conversion for "nullprefix" failed</div><div>WARNING: <core> [rvalue.c:1916]: rval expression conversion to int failed (153,32-153,43)</div>
<div><br></div><div style>I would like to have all values as string to avoid these errors.</div><div style><br></div><div style>Thanks,</div><div style>Mino</div></div></div>