summaryrefslogtreecommitdiffhomepage
path: root/dhcpv6/option_relaymsg_test.go
diff options
context:
space:
mode:
authorAndrea Barberio <insomniac@slackware.it>2018-05-20 00:52:33 +0100
committerAndrea Barberio <insomniac@slackware.it>2018-05-20 00:52:33 +0100
commitbdb0bf25259985b962e230fbac5265a7623afd05 (patch)
tree6af1ea7e3dbf3b6b4e370e932f6675379b5439e7 /dhcpv6/option_relaymsg_test.go
parent5e40d13e338c363f111c326987b14023db25c40d (diff)
OptIANA and OptElapsedTime now have public fields
Diffstat (limited to 'dhcpv6/option_relaymsg_test.go')
-rw-r--r--dhcpv6/option_relaymsg_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhcpv6/option_relaymsg_test.go b/dhcpv6/option_relaymsg_test.go
index f0b2ee6..6d9d6a6 100644
--- a/dhcpv6/option_relaymsg_test.go
+++ b/dhcpv6/option_relaymsg_test.go
@@ -112,7 +112,7 @@ func TestRelayMsgParseOptRelayMsgSingleEncapsulation(t *testing.T) {
reflect.TypeOf(innerOpt),
)
}
- if eTime := eto.ElapsedTime(); eTime != 0x1122 {
+ if eTime := eto.ElapsedTime; eTime != 0x1122 {
t.Fatalf("Invalid elapsed time. Expected 0x1122, got 0x%04x", eTime)
}
}