<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:x-small">Hello Ondrej,<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 7:51 AM Ondrej Zajicek <<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, May 13, 2019 at 07:12:53AM -0700, Terra Nova wrote:<br>
> Hi Alexander,<br>
> <br>
> On Sun, May 12, 2019 at 12:21 AM Alexander Zubkov <<a href="mailto:green@qrator.net" target="_blank">green@qrator.net</a>> wrote:<br>
> <br>
> > Hi,<br>
> ><br>
> > I suppose it could happen because "for" is looking for an active route<br>
> > for the given destination. And filtered routes would not be matched.<br>
> ><br>
> I was leaning in that direction as well, however in the canonical sense,<br>
> using the keyword 'filtered' should have removed that constraint and<br>
> returned the filtered + non-active route.  At this point, I don't know if<br>
> current behavior is the intended behavior.<br>
<br>
Hi<br>
<br>
This seems to be unintended behavior, but it is hard to say what should<br>
be the intended behavior. I see three possible behaviors:<br>
<br>
1) Explicitly forbid this combination (like combination of 'filtered' and<br>
'export' is forbidden).<br>
<br>
2) Find and show longest-match between filtered routes.<br>
<br>
3) Find longest-match between both valid and filtered routes,<br>
show it only if it is filtered.<br>
<br>
-- <br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br></blockquote><div><br></div><div style="font-size:x-small" class="gmail_default">Please don't forbid it via #1.</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">It would be nice to use the longest-match machinery to lookup the filtered route.  I'm not sure which would be the better implementation between #2 or #3, but I believe when the 'filtered' keyword is used it should be constrained to only working with filtered routes.</div><div style="font-size:x-small" class="gmail_default"><br></div><div style="font-size:x-small" class="gmail_default">--</div><div style="font-size:x-small" class="gmail_default">Terra<br></div></div></div>