summaryrefslogtreecommitdiff
path: root/filter/test.conf
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-12-08 12:51:26 +0000
committerPavel Machek <pavel@ucw.cz>1999-12-08 12:51:26 +0000
commit2e18b87dcf5d4029d11bc46b37d601aae4f97174 (patch)
tree6fd03d73e76fd5f9307bd465ff364b2c34ef0df9 /filter/test.conf
parent3df563fa4c3c0acca181ce09dbb05452720e90e8 (diff)
Disallow rta.net syntax.
Diffstat (limited to 'filter/test.conf')
-rw-r--r--filter/test.conf10
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 799fc60c..e2da6d79 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -66,15 +66,15 @@ ip p;
filter testf
int j;
{
- print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len " source " rta.source;
- print "This route was from " rta.from;
+ print "Heya, filtering route to " net.ip " prefixlen " net.len " source " source;
+ print "This route was from " from;
j = 7;
j = 17;
- if rta.rip_metric > 15 then {
+ if rip_metric > 15 then {
reject "RIP Metric is more than infinity";
}
- rta.rip_metric = 14;
- unset(rta.rip_metric);
+ rip_metric = 14;
+ unset(rip_metric);
accept "ok I take that";
}