Chore: rename NoResolveIP to ShouldResolveIP

This commit is contained in:
Dreamacro
2020-07-27 11:57:55 +08:00
parent 33a6579a3a
commit 78c3034158
11 changed files with 20 additions and 20 deletions

View File

@ -34,8 +34,8 @@ func (p *Port) Payload() string {
return p.port
}
func (p *Port) NoResolveIP() bool {
return true
func (p *Port) ShouldResolveIP() bool {
return false
}
func NewPort(port string, adapter string, isSource bool) (*Port, error) {