mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-21 21:04:57 +09:00
Changed comment position
Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
1 parent
d13338a9fb
commit
98ac88d5ef
1 file changed
+2
-1
@@ -501,7 +501,8 @@ func (h *Headscale) Serve() error {
|
||||
h.DERPMap = GetDERPMap(h.cfg.DERP)
|
||||
|
||||
if h.cfg.DERP.ServerEnabled {
|
||||
if h.cfg.DERP.STUNAddr == "" { // When embedded DERP is enabled we always need a STUN server address, embedded or external
|
||||
// When embedded DERP is enabled we always need a STUN server address, embedded or external
|
||||
if h.cfg.DERP.STUNAddr == "" {
|
||||
return errSTUNAddressNotSet
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user