diff --git a/cmd/smee/flag.go b/cmd/smee/flag.go index 3102e4f3..b723d893 100644 --- a/cmd/smee/flag.go +++ b/cmd/smee/flag.go @@ -203,7 +203,7 @@ func ipByInterface(name string) string { } func detectPublicIPv4() string { - if netint := os.Getenv("SMEE_IP_DETECT_INTERFACE"); netint != "" { + if netint := os.Getenv("SMEE_PUBLIC_IP_INTERFACE"); netint != "" { if ip := ipByInterface(netint); ip != "" { return ip }