Allow specifying PROXY via BIND network
This commit is contained in:
@@ -32,6 +32,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func setupListener(network, address, socketMode string, proxy bool) (net.Listener, string) {
|
func setupListener(network, address, socketMode string, proxy bool) (net.Listener, string) {
|
||||||
|
if network == "proxy" {
|
||||||
|
network = "tcp"
|
||||||
|
proxy = true
|
||||||
|
}
|
||||||
|
|
||||||
formattedAddress := ""
|
formattedAddress := ""
|
||||||
switch network {
|
switch network {
|
||||||
case "unix":
|
case "unix":
|
||||||
|
Reference in New Issue
Block a user