summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/buffer
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-11-14 11:57:58 -0800
committerShentubot <shentubot@google.com>2018-11-14 11:58:41 -0800
commitb5e91eaa52cfb9b43dff0f857938ca231068924d (patch)
tree7f18747e8e6166537b8be175a6de188f028b8002 /pkg/tcpip/buffer
parent7b938ef78c2b180d1d0554534972069ec393322d (diff)
Clean up tcp.sendData
PiperOrigin-RevId: 221484739 Change-Id: I44c71f79f99d0d00a2e70a7f06d7024a62a5de0a
Diffstat (limited to 'pkg/tcpip/buffer')
-rw-r--r--pkg/tcpip/buffer/view.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/buffer/view.go b/pkg/tcpip/buffer/view.go
index 6c70e0d69..d8c3b0cb4 100644
--- a/pkg/tcpip/buffer/view.go
+++ b/pkg/tcpip/buffer/view.go
@@ -146,7 +146,7 @@ func (vv VectorisedView) Views() []View {
}
// Append appends the views in a vectorised view to this vectorised view.
-func (vv *VectorisedView) Append(vv2 *VectorisedView) {
+func (vv *VectorisedView) Append(vv2 VectorisedView) {
vv.views = append(vv.views, vv2.views...)
vv.size += vv2.size
}