<br><div class="gmail_quote">On Thu, Apr 1, 2010 at 4:28 PM, mayamatakeshi <span dir="ltr"><<a href="mailto:mayamatakeshi@gmail.com">mayamatakeshi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
While testing with drouting function is_from_gw(), it seems that in addition to be present in the dr_gateways table, there must also exist at least one entry in dr_rules referencing the GW otherwise the function returns false. Is this intentional? <br>
In my case, I have incoming-only GWs so there are no rules for them. For now for each of them I add a rule that never matches just to permit to use is_from_gw, but I'm might be overlooking something.<br></blockquote>
<div><br>Sorry,<br>please ignore.<br>Doing some more tests i realized for is_from_gw to work, dr_rules cannot be empty (I was testing with the minimal changes in the db so I have not added the records for the other GWs). <br>
<br>regards,<br>takeshi<br></div></div><br>