mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: minor fix typo in "if err" handler
This commit is contained in:
@@ -164,7 +164,7 @@ func main() {
|
||||
// Create TCP endpoint.
|
||||
var wq waiter.Queue
|
||||
ep, e := s.NewEndpoint(tcp.ProtocolNumber, ipv4.ProtocolNumber, &wq)
|
||||
if err != nil {
|
||||
if e != nil {
|
||||
log.Fatal(e)
|
||||
}
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ func main() {
|
||||
// Create TCP endpoint, bind it, then start listening.
|
||||
var wq waiter.Queue
|
||||
ep, e := s.NewEndpoint(tcp.ProtocolNumber, proto, &wq)
|
||||
if err != nil {
|
||||
if e != nil {
|
||||
log.Fatal(e)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user