diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-10-07 16:09:50 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-10-07 16:09:50 +0200 |
commit | 4872cef4dfcadab405d0393a21f9136852d7b9c4 (patch) | |
tree | 53548a87bc57678c77f3a5f526648d5c9cd48f2a | |
parent | c9f8c1a855cfdde2095cd792289dbce2b7a06371 (diff) | |
download | bird-4872cef4dfcadab405d0393a21f9136852d7b9c4.tar bird-4872cef4dfcadab405d0393a21f9136852d7b9c4.zip |
Added examples of pairs and prefixes
-rw-r--r-- | bird.conf | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -20,7 +20,9 @@ function callme (int arg1; int arg2;) } function startup () -int i; +int i; +prefix px; + { print "Bird filter language: selftesting..."; i = 4; @@ -42,6 +44,10 @@ int i; print "IPsets: true = " 1.2.3.4 ~ [ 1.2.3.3..1.2.3.5 ]; print " false = " 1.2.3.4 ~ [ 1.2.3.3, 1.2.3.5 ]; + print "Testing prefixes: 1.2.3.4/18 = " 1.2.3.4/18; + print "Testing pairs: (1,2) = " (1,2); + + print "Testing functions..."; callme ( 1, 2, ); callme ( 2, 2, ); callme ( 3, 2, ); @@ -49,7 +55,7 @@ int i; callme ( 7, 2, ); print "done"; -# quitbird; + quitbird; # print "*** FAIL: this is unreachable"; } |