Skip to content

Commit

Permalink
mod: 替换常见端口111为161
Browse files Browse the repository at this point in the history
  • Loading branch information
XinRoom committed Mar 5, 2023
1 parent 3cca40e commit 1f968e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/host/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

var CanIcmp bool

var TcpPingPorts = []uint16{80, 22, 445, 23, 443, 81, 111, 3389, 8080, 8081}
var TcpPingPorts = []uint16{80, 22, 445, 23, 443, 81, 161, 3389, 8080, 8081}

// 判断是否支持发送icmp包
func init() {
Expand Down

0 comments on commit 1f968e5

Please sign in to comment.