diff options
author | insomniac <insomniacslk@users.noreply.github.com> | 2018-07-31 03:16:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-31 03:16:35 +0100 |
commit | c6894ea160d82b4a326ebab94faaebd090192a7b (patch) | |
tree | b5527e778427f508a5e6a9a447d12722316fe4ae /dhcpv6/utils_test.go | |
parent | facfa9601a11655d6a7fc064f01d6f41d5a1f780 (diff) | |
parent | b57d4fdd4144e8935756273a4524ee3cd952bd00 (diff) |
DHCPv6: Fix message type constants (#105)
Diffstat (limited to 'dhcpv6/utils_test.go')
-rw-r--r-- | dhcpv6/utils_test.go | 2 |
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) |