Skip to content

Commit

Permalink
Do notvtry to open admin socket in autoconf too
Browse files Browse the repository at this point in the history
Signed-off-by: Vasyl Gello <[email protected]>
  • Loading branch information
basilgello committed Mar 24, 2024
1 parent 7b5300a commit edbaa72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/yggstack/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -114,6 +116,7 @@ func main() {
_ = f.Close()

case *genconf:
// Force AdminListen to none in yggstack
cfg.AdminListen = "none"
var bs []byte
if *confjson {
Expand Down

0 comments on commit edbaa72

Please sign in to comment.