mirror of
https://github.com/yggdrasil-network/yggstack.git
synced 2025-04-28 14:15: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
|
return
|
||||||
|
|
||||||
case *autoconf:
|
case *autoconf:
|
||||||
|
// Force AdminListen to none in yggstack
|
||||||
|
cfg.AdminListen = "none"
|
||||||
// Use an autoconf-generated config, this will give us random keys and
|
// Use an autoconf-generated config, this will give us random keys and
|
||||||
// port numbers, and will use an automatically selected TUN interface.
|
// port numbers, and will use an automatically selected TUN interface.
|
||||||
|
|
||||||
|
@ -114,6 +116,7 @@ func main() {
|
||||||
_ = f.Close()
|
_ = f.Close()
|
||||||
|
|
||||||
case *genconf:
|
case *genconf:
|
||||||
|
// Force AdminListen to none in yggstack
|
||||||
cfg.AdminListen = "none"
|
cfg.AdminListen = "none"
|
||||||
var bs []byte
|
var bs []byte
|
||||||
if *confjson {
|
if *confjson {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue