-define xyzzy = 120+10;
-
-filter testf
-int j;
-{
- print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len;
- print "This route was from " rta.from;
- j = 7;
- j = 17;
- if rta.rip_metric > 15 then
- print "RIP Metric is more than infinity";
-
- accept;
-}
-
-protocol rip MyRIP_test {
- preference xyzzy;
- debug all;
- port 1520;
- period 5;
- garbagetime 30;
- interface "*" { mode broadcast; };
- export filter testf;
- honour neighbour;
- passwords { password "ahoj" from 0 to 10;
- password "nazdar" from 10;
- }
- authentication md5;
-}