Skip to content

Commit

Permalink
small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dbadoy authored Dec 28, 2022
1 parent 40c70c2 commit 63f387b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion natpmp_mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (p *mockNAT) addExternal(protocol string, extport, intport uint16, duration
}(e.timer)
}

// suggestExternalPort returns a random port number. Originally
// suggestExternalPort returns a available port number. Originally
// it should respond with an 'Out of resources' error if it
// expected all port numbers to be in use, but currently it simply
// causes a panic.
Expand Down

0 comments on commit 63f387b

Please sign in to comment.