summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/utils_test.go
diff options
context:
space:
mode:
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)