diff options
author | Tamir Duberstein <tamird@google.com> | 2019-03-14 10:18:24 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-03-14 10:19:21 -0700 |
commit | 5496be7c5ddedd6ec03004143501acb225eda357 (patch) | |
tree | 8d343ae925e268f17e91b5db40783b29e28a1892 /pkg/tcpip/transport/tcp/endpoint.go | |
parent | 8f4634997bd97810a85a70b71f000378d9db2e55 (diff) |
Remove duplicate TCP flag definitions
PiperOrigin-RevId: 238467634
Change-Id: If4cd8efff7386fbee1195f051d15549b495910a9
Diffstat (limited to 'pkg/tcpip/transport/tcp/endpoint.go')
-rw-r--r-- | pkg/tcpip/transport/tcp/endpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/tcp/endpoint.go b/pkg/tcpip/transport/tcp/endpoint.go index fc4f82402..7d18e3612 100644 --- a/pkg/tcpip/transport/tcp/endpoint.go +++ b/pkg/tcpip/transport/tcp/endpoint.go @@ -1443,7 +1443,7 @@ func (e *endpoint) HandlePacket(r *stack.Route, id stack.TransportEndpointID, ne } e.stack.Stats().TCP.ValidSegmentsReceived.Increment() - if (s.flags & flagRst) != 0 { + if (s.flags & header.TCPFlagRst) != 0 { e.stack.Stats().TCP.ResetsReceived.Increment() } |