<html><head></head><body>Hello!<br><br>Currently not supported. Is simple exact match enough for your purposes? This may be simply added to the filter language.<br><br>Maria<br><br><div class="gmail_quote">On April 8, 2020 6:47:49 PM GMT+02:00, Michael Rack <mail@michaelrack.de> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi Guys,<div><br></div><div>if i am in the EXPORT-Routine, how can i access the "protocol-name" of that instance that is currently using my function?</div><div><br></div><div>If I rely on "proto" I get the protocol-name where the route comes from. That is not what I want.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><b>protocol bgp </b>'peer-neo' {<br> ipv4 { export filter <b>filter_common_ipv4_out</b>; };<br>} <br><b>filter
</b>
filter_common_ipv4_out() {<br> if <font color="#f3f3f3" style="background-color:rgb(204,0,0)"> proto </font> = 'peer-neo' then .....;<br>}</blockquote><div><br></div><div>How can I match for 'peer-neo' ?</div><div><br></div><div>Thank you.</div><div>Michael.</div></div>
</blockquote></div><br>-- <br>Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>