Hi all,<br>I use xorp for sending self initialized iBGP messages (from the XRL interface) in order to change routes at other routers.<br>In bgp/route_table_filter.cc there is a function, that should prevent the redistribution of BGP messages when it is not desired by the community:
<br><br>template&lt;class A&gt; const InternalMessage&lt;A&gt;* KnownCommunityFilter&lt;A&gt;::filter(const InternalMessage&lt;A&gt; *rtmsg,bool &amp;modified) const;<br><br>The problem is that if I don&#39;t want the XRL initiated BGP messages to be advertized by my peers, they should be initiated with the &quot;NO_ADVERTISE&quot; community.
<br>And the above function filters them out.<br>Currently, I just commented out the lines:<br><br>// Routes with NO_ADVERTISE don&#39;t get sent to anyone else <br>if (ca-&gt;contains(CommunityAttribute::NO_ADVERTISE)) {<br>
&nbsp;&nbsp; drop_message(rtmsg, modified);<br>&nbsp;&nbsp; return NULL;<br>}<br><br>This might cause a problem when I get NO_ADVERTISE messages. Does anyone can think of a better solution to the problem?<br><br>Thanks,<br><br>Yuval.<br>