diff options
author | Christopher Koch <chrisko@google.com> | 2019-01-09 13:19:46 -0800 |
---|---|---|
committer | insomniac <insomniacslk@users.noreply.github.com> | 2019-01-09 23:54:01 +0000 |
commit | df450f2899aa103d7c754ff17df05afe74a9f462 (patch) | |
tree | 63026988bdf7efad97d9f1897110bfae9b23aa3c /dhcpv4/server_test.go | |
parent | 2439a850c766acf2d21501bf075b4dbeb6d7d295 (diff) |
dhcpv4: introduce TransactionID type.
Diffstat (limited to 'dhcpv4/server_test.go')
-rw-r--r-- | dhcpv4/server_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv4/server_test.go b/dhcpv4/server_test.go index 68bd694..454a113 100644 --- a/dhcpv4/server_test.go +++ b/dhcpv4/server_test.go @@ -113,7 +113,7 @@ func TestServerActivateAndServe(t *testing.T) { require.NoError(t, err) require.NotEqual(t, 0, len(ifaces)) - xid := uint32(0xaabbccdd) + xid := TransactionID{0xaa, 0xbb, 0xcc, 0xdd} hwaddr := [16]byte{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf} modifiers := []Modifier{ |