blob: e1ecb2860ed08cac2b38aa7d4e27bc7963408656 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# rt classid "cosmos"
ip test-ip4 input
[ rt load classid => reg 1 ]
[ cmp eq reg 1 0x00000000 ]
# rt ipsec exists
ip test-ip4 input
[ rt load ipsec => reg 1 ]
[ cmp eq reg 1 0x00000001 ]
# rt ipsec missing
ip test-ip4 input
[ rt load ipsec => reg 1 ]
[ cmp eq reg 1 0x00000000 ]
|