summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_userclass_test.go
diff options
context:
space:
mode:
authorinsomniac <insomniacslk@users.noreply.github.com>2018-07-31 17:12:40 +0100
committerGitHub <noreply@github.com>2018-07-31 17:12:40 +0100
commitbcf643be1286495de75817fd1edf731ddbd2195a (patch)
tree945d12ed3d8a11ebc55dd2f8d6ee1304ecd2b20f /dhcpv6/option_userclass_test.go
parentc6894ea160d82b4a326ebab94faaebd090192a7b (diff)
parent7319b8f8a1a601b5e69c5bcaa33914c0f85b92e6 (diff)
DHCPv6: Rename Option constants to CamelCase (#106)
Diffstat (limited to 'dhcpv6/option_userclass_test.go')
-rw-r--r--dhcpv6/option_userclass_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv6/option_userclass_test.go b/dhcpv6/option_userclass_test.go
index 92c3848..3ba65cf 100644
--- a/dhcpv6/option_userclass_test.go
+++ b/dhcpv6/option_userclass_test.go
@@ -40,7 +40,7 @@ func TestOptUserClassToBytes(t *testing.T) {
}
data := opt.ToBytes()
expected := []byte{
- 0, 15, // OPTION_USER_CLASS
+ 0, 15, // OptionUserClass
0, 11, // length
0, 9, 'l', 'i', 'n', 'u', 'x', 'b', 'o', 'o', 't',
}
@@ -56,7 +56,7 @@ func TestOptUserClassToBytesMultiple(t *testing.T) {
}
data := opt.ToBytes()
expected := []byte{
- 0, 15, // OPTION_USER_CLASS
+ 0, 15, // OptionUserClass
0, 17, // length
0, 9, 'l', 'i', 'n', 'u', 'x', 'b', 'o', 'o', 't',
0, 4, 't', 'e', 's', 't',