Skip to content

Commit

Permalink
cleanup: fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Sep 26, 2024
1 parent 73d2e08 commit e39574e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion workers/client/client_impl_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ func initDiverter() bool {
generalConfig := configuration.QPepConfig.General
clientConfig := configuration.QPepConfig.Client
filteredPorts := configuration.QPepConfig.Limits.IgnoredPorts
filteredPorts := shared.QPepConfig.IgnoredPorts

gatewayHost := clientConfig.GatewayHost
gatewayPort := clientConfig.GatewayPort
Expand Down
7 changes: 0 additions & 7 deletions workers/client/client_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ func handleTCPConn(tcpConn net.Conn) {
}
}

if filteredPorts == nil {
filteredPorts = make(map[int]struct{})
for _, p := range shared.QPepConfig.IgnoredPorts {
filteredPorts[p] = struct{}{}
}
}

// proxy open connection
proxyRequest, errProxy = handleProxyOpenConnection(tcpConn)
if errProxy == errors.ErrProxyCheckRequest {
Expand Down

0 comments on commit e39574e

Please sign in to comment.