summaryrefslogtreecommitdiffstats
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-04-26 11:30:12 +0200
committerPavel Machek <pavel@ucw.cz>2000-04-26 11:30:12 +0200
commitf71bded6e97a3eeb4dc58458d042cbe1af631380 (patch)
tree6738efc7c1d206b92d46930e6b0ecdd991ab3bc3 /filter/test.conf
parent7a86a8b08db03f002a672d1e8a6481ad52114d1e (diff)
downloadbird-f71bded6e97a3eeb4dc58458d042cbe1af631380.tar
bird-f71bded6e97a3eeb4dc58458d042cbe1af631380.zip
Bugfix in i_same (comparing of paths still does not work).
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf18
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