summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4/dhcpv4_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'dhcpv4/dhcpv4_test.go')
-rw-r--r--dhcpv4/dhcpv4_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/dhcpv4_test.go b/dhcpv4/dhcpv4_test.go
index 28f38d4..059ae0c 100644
--- a/dhcpv4/dhcpv4_test.go
+++ b/dhcpv4/dhcpv4_test.go
@@ -250,7 +250,7 @@ func TestToStringMethods(t *testing.T) {
d.SetOpcode(OpcodeBootReply)
require.Equal(t, "BootReply", d.OpcodeToString())
d.SetOpcode(OpcodeType(0))
- require.Equal(t, "Invalid", d.OpcodeToString())
+ require.Equal(t, "Unknown", d.OpcodeToString())
// HwTypeToString
d.SetHwType(iana.HwTypeEthernet)