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 2e5b8b0..7a208ce 100644
--- a/dhcpv4/dhcpv4_test.go
+++ b/dhcpv4/dhcpv4_test.go
@@ -310,7 +310,7 @@ func TestNewToBytes(t *testing.T) {
expected = append(expected, 0)
}
// Magic Cookie
- expected = append(expected, MagicCookie...)
+ expected = append(expected, magicCookie[:]...)
// End
expected = append(expected, 0xff)