diff options
Diffstat (limited to 'src/plugins/dhcp/test/test_dhcp.py')
-rw-r--r-- | src/plugins/dhcp/test/test_dhcp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/dhcp/test/test_dhcp.py b/src/plugins/dhcp/test/test_dhcp.py index 6435d7fd6f7..14e20c419b0 100644 --- a/src/plugins/dhcp/test/test_dhcp.py +++ b/src/plugins/dhcp/test/test_dhcp.py @@ -251,6 +251,7 @@ class TestDHCP(VppTestCase): self.verify_dhcp_has_option(pkt, "hostname", hostname.encode('ascii')) if client_id: + client_id = '\x00' + client_id self.verify_dhcp_has_option(pkt, "client_id", client_id.encode('ascii')) bootp = pkt[BOOTP] |