diff options
Diffstat (limited to 'tests/py/inet/meta.t.payload')
-rw-r--r-- | tests/py/inet/meta.t.payload | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/py/inet/meta.t.payload b/tests/py/inet/meta.t.payload index 0323b30f..2d0a66fa 100644 --- a/tests/py/inet/meta.t.payload +++ b/tests/py/inet/meta.t.payload @@ -64,3 +64,12 @@ inet test-inet input [ payload load 4b @ network header + 12 => reg 1 ] [ cmp eq reg 1 0x04030201 ] +# meta secpath exists +inet test-inet input + [ meta load secpath => reg 1 ] + [ cmp eq reg 1 0x00000001 ] + +# meta secpath missing +inet test-inet input + [ meta load secpath => reg 1 ] + [ cmp eq reg 1 0x00000000 ] |