Add warning

Former-commit-id: 6420434821
This commit is contained in:
Owen
2025-07-28 22:49:45 -07:00
parent ad080046a1
commit c25d77597d

View File

@@ -277,6 +277,10 @@ func runOlmMainWithArgs(ctx context.Context, args []string) {
logger.Debug("Parameters: endpoint='%s', id='%s', secret='%s'", endpoint, id, secret) logger.Debug("Parameters: endpoint='%s', id='%s', secret='%s'", endpoint, id, secret)
logger.Debug("HTTP enabled: %v, HTTP addr: %s", enableHTTP, httpAddr) logger.Debug("HTTP enabled: %v, HTTP addr: %s", enableHTTP, httpAddr)
if doHolepunch {
logger.Warn("Hole punching is enabled. This is EXPERIMENTAL and may not work in all environments.")
}
// Handle test mode // Handle test mode
if testMode { if testMode {
if testTarget == "" { if testTarget == "" {