howto/Bird.md
... ...
@@ -195,7 +195,7 @@ template bgp dnpeers {
195 195
};
196 196
export filter {
197 197
# here we export the whole net
198
- if is_valid_network() then {
198
+ if is_valid_network() && source ~ [RTS_STATIC, RTS_BGP] then {
199 199
accept;
200 200
}
201 201
reject;