diff options
author | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-06-30 15:00:47 +0200 |
---|---|---|
committer | Pavel Tvrdik <pawel.tvrdik@gmail.com> | 2016-06-30 15:00:47 +0200 |
commit | 5de0e848de06a9187046dbc380d9ce6a6f8b21a2 (patch) | |
tree | cba0d5532bf14f451204da2362e6f3d0f2644ac3 /filter/test.conf | |
parent | 044e123fd34a17b13d7636def38542511f9c6baf (diff) |
filter/test.conf: fixes formating
Diffstat (limited to 'filter/test.conf')
-rw-r--r-- | filter/test.conf | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/filter/test.conf b/filter/test.conf index c3f74d94..5cafe551 100644 --- a/filter/test.conf +++ b/filter/test.conf @@ -217,24 +217,27 @@ define onetwo=1.2.3.4; function __test1() { - if source ~ [ RTS_BGP, RTS_STATIC ] then { -# ospf_metric1 = 65535; -# ospf_metric2 = 1000; - ospf_tag = 0x12345678; - accept; - } reject; + if source ~ [ RTS_BGP, RTS_STATIC ] then { +# ospf_metric1 = 65535; +# ospf_metric2 = 1000; + ospf_tag = 0x12345678; + accept; + } + reject; } function __test2() { - if source ~ [ RTS_BGP, RTS_STATIC ] then { -# ospf_metric1 = 65535; -# ospf_metric2 = 1000; - ospf_tag = 0x12345678; - accept; - } reject; + if source ~ [ RTS_BGP, RTS_STATIC ] then { +# ospf_metric1 = 65535; +# ospf_metric2 = 1000; + ospf_tag = 0x12345678; + accept; + } + reject; } + function test_pxset(prefix set pxs) { print pxs; @@ -367,7 +370,7 @@ string st; b = true; print "Testing bool: ", b, ", ", !b; - if ( b = true ) then print "Testing bool comparison b = true: ", b; + if ( b = true ) then print "Testing bool comparison b = true: ", b; else { print "*** FAIL: TRUE test failed" ; quitbird; } ips = [ 1.1.1.0 .. 1.1.1.255, ip1222]; @@ -425,7 +428,7 @@ int j; j = 7; j = 17; if rip_metric > 15 then { - reject "RIP Metric is more than infinity"; + reject "RIP Metric is more than infinity"; } rip_metric = 14; unset(rip_metric); |