diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-08-15 23:40:35 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-08-15 23:40:35 +0000 |
commit | c02a2af82e1970731cd4f5f1894cc008a29e4c47 (patch) | |
tree | e593bd42c22dae90e96cad5415933fb927eabc31 /pkg/tcpip/transport/raw | |
parent | dc6a11caacaddfc79be4400f83037cb34cbec9a2 (diff) | |
parent | ef045b914bc8d9795f9184aed4b13351be70a3cf (diff) |
Merge ef045b91 (automated)
Diffstat (limited to 'pkg/tcpip/transport/raw')
-rw-r--r-- | pkg/tcpip/transport/raw/endpoint_state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/transport/raw/endpoint_state.go b/pkg/tcpip/transport/raw/endpoint_state.go index a3d6f4580..168953dec 100644 --- a/pkg/tcpip/transport/raw/endpoint_state.go +++ b/pkg/tcpip/transport/raw/endpoint_state.go @@ -75,7 +75,7 @@ func (ep *endpoint) Resume(s *stack.Stack) { var err *tcpip.Error ep.route, err = ep.stack.FindRoute(ep.registeredNIC, ep.boundAddr, ep.route.RemoteAddress, ep.netProto, false) if err != nil { - panic(*err) + panic(err) } } @@ -87,6 +87,6 @@ func (ep *endpoint) Resume(s *stack.Stack) { } if err := ep.stack.RegisterRawTransportEndpoint(ep.registeredNIC, ep.netProto, ep.transProto, ep); err != nil { - panic(*err) + panic(err) } } |