summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/utils_test.go
diff options
context:
space:
mode:
authorinsomniac <insomniacslk@users.noreply.github.com>2018-07-31 03:16:35 +0100
committerGitHub <noreply@github.com>2018-07-31 03:16:35 +0100
commitc6894ea160d82b4a326ebab94faaebd090192a7b (patch)
treeb5527e778427f508a5e6a9a447d12722316fe4ae /dhcpv6/utils_test.go
parentfacfa9601a11655d6a7fc064f01d6f41d5a1f780 (diff)
parentb57d4fdd4144e8935756273a4524ee3cd952bd00 (diff)
DHCPv6: Fix message type constants (#105)
Diffstat (limited to 'dhcpv6/utils_test.go')
-rw-r--r--dhcpv6/utils_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/utils_test.go b/dhcpv6/utils_test.go
index 77205b4..36b1683 100644
--- a/dhcpv6/utils_test.go
+++ b/dhcpv6/utils_test.go
@@ -61,7 +61,7 @@ func TestGetTransactionIDMessage(t *testing.T) {
func TestGetTransactionIDRelay(t *testing.T) {
message, err := NewMessage()
require.NoError(t, err)
- relay, err := EncapsulateRelay(message, RELAY_FORW, nil, nil)
+ relay, err := EncapsulateRelay(message, MessageTypeRelayForward, nil, nil)
require.NoError(t, err)
transactionID, err := GetTransactionID(relay)
require.NoError(t, err)