diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf index f1b3b66..f044177 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -116,6 +116,30 @@ ip p; # print "*** FAIL: this is unreachable"; } +function __test1() +{ + if source = RTS_STATIC then { + bgp_community = -empty-; + bgp_community.add((65000,5678)); + if bgp_path ~ / 65000 / then + bgp_path.prepend(65000); + accept; + } + reject; +} + +function __test2() +{ + if source = RTS_STATIC then { + bgp_community = -empty-; + bgp_community.add((65000,5678)); + if bgp_path ~ / 65000 / then + bgp_path.prepend(65000); + accept; + } + reject; +} + filter testf int j; { |