diff options
Diffstat (limited to 'test/test_dhcp.py')
-rw-r--r-- | test/test_dhcp.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_dhcp.py b/test/test_dhcp.py index e668b7bd1c0..15af323454f 100644 --- a/test/test_dhcp.py +++ b/test/test_dhcp.py @@ -327,6 +327,9 @@ class TestDHCP(VppTestCase): is_discover = True self.assertTrue(is_discover) + # The last option must always be the 'end' option + self.assertEqual(dhcp.options[-1], "end") + data = self.validate_relay_options( pkt, src_intf, src_intf.local_ip4, vpn_id, fib_id, oui ) |