summaryrefslogtreecommitdiffhomepage
path: root/dhcpv4
diff options
context:
space:
mode:
authorSean Karlage <skarlage@fb.com>2018-07-29 17:54:30 -0700
committerSean Karlage <skarlage@fb.com>2018-07-30 22:17:49 -0700
commit7319b8f8a1a601b5e69c5bcaa33914c0f85b92e6 (patch)
tree945d12ed3d8a11ebc55dd2f8d6ee1304ecd2b20f /dhcpv4
parentc6894ea160d82b4a326ebab94faaebd090192a7b (diff)
DHCPv6: Rename Option constants to CamelCase
To appease linters
Diffstat (limited to 'dhcpv4')
-rw-r--r--dhcpv4/option_userclass_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcpv4/option_userclass_test.go b/dhcpv4/option_userclass_test.go
index 5b71ea5..492cabd 100644
--- a/dhcpv4/option_userclass_test.go
+++ b/dhcpv4/option_userclass_test.go
@@ -12,7 +12,7 @@ func TestOptUserClassToBytes(t *testing.T) {
}
data := opt.ToBytes()
expected := []byte{
- 77, // OPTION_USER_CLASS
+ 77, // OptionUserClass
10, // length
9, 'l', 'i', 'n', 'u', 'x', 'b', 'o', 'o', 't',
}
@@ -57,7 +57,7 @@ func TestOptUserClassToBytesMultiple(t *testing.T) {
}
data := opt.ToBytes()
expected := []byte{
- 77, // OPTION_USER_CLASS
+ 77, // OptionUserClass
15, // length
9, 'l', 'i', 'n', 'u', 'x', 'b', 'o', 'o', 't',
4, 't', 'e', 's', 't',