summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2017-11-04 20:40:07 (GMT)
committerChristian Pointner <equinox@anytun.org>2017-11-04 20:40:07 (GMT)
commitecc72df0f17e04c15ea4e031a778d1f49bbcbdfd (patch)
treecec7bb1c6939231ab4a9f9d3b43aba51859df92e
parent3603a67ba4dc8c32c7130848aac7f58115b842ed (diff)
fix error detected by go vet
-rw-r--r--satp/security-association_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/satp/security-association_test.go b/satp/security-association_test.go
index bdd572f..0dc316b 100644
--- a/satp/security-association_test.go
+++ b/satp/security-association_test.go
@@ -219,7 +219,7 @@ func TestSecurityAssociationGetEndpointsAndNextSequenceNumber(t *testing.T) {
eps := make([]*net.UDPAddr, 3)
for i := range eps {
if eps[i] != nil {
- t.Fatalf("endpoints[%d] is %v but should be nil", i)
+ t.Fatalf("endpoints[%d] is %v but should be nil", i, eps[i])
}
}
seq, _ = sa.GetEndpointsAndNextSequenceNumber(eps)