diff options
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/filter/test.conf b/filter/test.conf index f044177..e03f591 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -118,26 +118,12 @@ ip p; 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; + print bgp_path ~ / 65000 /; } 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; + print bgp_path ~ / 65000 /; } filter testf |