mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-04 21:08:26 +00:00
Merge pull request #17 from canton7/feature/ext-address
Allow extAddress to be set from the command line
This commit is contained in:
commit
339e058b64
@ -59,6 +59,7 @@ func main() {
|
|||||||
flag.StringVar(&statusAddr, "status-srv", ":22070", "Listen address for status service (blank to disable)")
|
flag.StringVar(&statusAddr, "status-srv", ":22070", "Listen address for status service (blank to disable)")
|
||||||
flag.StringVar(&poolAddrs, "pools", defaultPoolAddrs, "Comma separated list of relay pool addresses to join")
|
flag.StringVar(&poolAddrs, "pools", defaultPoolAddrs, "Comma separated list of relay pool addresses to join")
|
||||||
flag.StringVar(&providedBy, "provided-by", "", "An optional description about who provides the relay")
|
flag.StringVar(&providedBy, "provided-by", "", "An optional description about who provides the relay")
|
||||||
|
flag.StringVar(&extAddress, "ext-address", "", "An optional address to advertising as being available on.\n\tAllows listening on an unprivileged port with port forwarding from e.g. 443, and be connected to on port 443.")
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user