Do not export or import chaosvpn to/from peers

chaosvpn does not have a route to other networks than ours, so routing to chaosvpn for other networks via our network does not make sense
This commit is contained in:
Leo Krueger 2014-05-05 14:50:54 +02:00
parent 0f6350267e
commit d5f27209d4

View file

@ -162,8 +162,8 @@ template bgp peers {
table ebgp; table ebgp;
local as ownas; local as ownas;
# ignore routes for our own network # ignore routes for our own network
import where ((is_freifunk() || is_dn42() || is_chaos()) && !is_self_net()); import where ((is_freifunk() || is_dn42()) && !is_self_net());
export where (is_freifunk() || is_dn42() || is_chaos()); export where (is_freifunk() || is_dn42());
route limit 10000; route limit 10000;
}; };