diff options
Diffstat (limited to 'tests/py/inet/fib.t.payload')
-rw-r--r-- | tests/py/inet/fib.t.payload | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/py/inet/fib.t.payload b/tests/py/inet/fib.t.payload index f5258165..1d4c3d94 100644 --- a/tests/py/inet/fib.t.payload +++ b/tests/py/inet/fib.t.payload @@ -20,3 +20,13 @@ __map%d test-ip 0 ip test-ip prerouting [ fib daddr . iif type => reg 1 ] [ lookup reg 1 set __map%d dreg 0 ] + +# fib daddr oif exists +ip test-ip prerouting + [ fib daddr oif present => reg 1 ] + [ cmp eq reg 1 0x00000001 ] + +# fib daddr oif missing +ip test-ip prerouting + [ fib daddr oif present => reg 1 ] + [ cmp eq reg 1 0x00000000 ] |