diff options
author | Pavel Machek <pavel@ucw.cz> | 1999-11-18 15:01:36 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 1999-11-18 15:01:36 +0100 |
commit | c7b43f33ae8d583ead531d76ed81f1b5deb507f3 (patch) | |
tree | b8ec969609b791cd677800482908a3f9c2c1059f /filter/test.conf | |
parent | da40b6f753f4dd48dbcaebbe6174decb28705ab8 (diff) | |
download | bird-c7b43f33ae8d583ead531d76ed81f1b5deb507f3.tar bird-c7b43f33ae8d583ead531d76ed81f1b5deb507f3.zip |
Split inst->code into inst->code and inst->aux. Both are only 16 bit,
so aux is suitable for storing type but not much more.
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/filter/test.conf b/filter/test.conf index 97aaf8f..837c423 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -66,12 +66,13 @@ ip p; filter testf int j; { - print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len; + print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len " source " rta.source; print "This route was from " rta.from; j = 7; j = 17; - if rta.rip_metric > 15 then - print "RIP Metric is more than infinity"; + if rta.rip_metric > 15 then { + reject "RIP Metric is more than infinity"; + } - accept; + accept "ok I take that"; } |