mirror of
https://github.com/yggdrasil-network/yggstack.git
synced 2025-04-28 06:05:07 +03:00
Do notvtry to open admin socket in autoconf too
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
parent
7b5300a476
commit
edbaa72445
1 changed files with 3 additions and 0 deletions
|
@ -95,6 +95,8 @@ func main() {
|
|||
return
|
||||
|
||||
case *autoconf:
|
||||
// Force AdminListen to none in yggstack
|
||||
cfg.AdminListen = "none"
|
||||
// Use an autoconf-generated config, this will give us random keys and
|
||||
// port numbers, and will use an automatically selected TUN interface.
|
||||
|
||||
|
@ -114,6 +116,7 @@ func main() {
|
|||
_ = f.Close()
|
||||
|
||||
case *genconf:
|
||||
// Force AdminListen to none in yggstack
|
||||
cfg.AdminListen = "none"
|
||||
var bs []byte
|
||||
if *confjson {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue