Skip to content

Commit

Permalink
Refactor CLI flag name for allowed proxy addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 committed Oct 18, 2024
1 parent 09d4ab1 commit 88f6733
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/sshpiperd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ func main() {
EnvVars: []string{"SSHPIPERD_DROP_HOSTKEYS_MESSAGE"},
},
&cli.StringSliceFlag{
Name: "allowed-proxy-addresses",
Value: cli.NewStringSlice(),
Usage: "allowed proxy addresses, only connections from these ip ranges are allowed to send a proxy header based on the PROXY protocol, empty will disable the PROXY protocol support",
Name: "allowed-proxy-addresses",
Value: cli.NewStringSlice(),
Usage: "allowed proxy addresses, only connections from these ip ranges are allowed to send a proxy header based on the PROXY protocol, empty will disable the PROXY protocol support",
EnvVars: []string{"SSHPIPERD_ALLOWED_PROXY_ADDRESSES"},
},
},
Expand Down

0 comments on commit 88f6733

Please sign in to comment.