diff options
Diffstat (limited to 'dhcpv4/modifiers_test.go')
-rw-r--r-- | dhcpv4/modifiers_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/modifiers_test.go b/dhcpv4/modifiers_test.go index f50e40b..d85d2e9 100644 --- a/dhcpv4/modifiers_test.go +++ b/dhcpv4/modifiers_test.go @@ -10,8 +10,8 @@ import ( func TestTransactionIDModifier(t *testing.T) { d, err := New() require.NoError(t, err) - d = WithTransactionID(0xddccbbaa)(d) - require.Equal(t, uint32(0xddccbbaa), d.TransactionID()) + d = WithTransactionID(TransactionID{0xdd, 0xcc, 0xbb, 0xaa})(d) + require.Equal(t, TransactionID{0xdd, 0xcc, 0xbb, 0xaa}, d.TransactionID()) } func TestBroadcastModifier(t *testing.T) { |