From 4ee938345de7804339fa0a8245fa3739afa00752 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Thu, 9 Jul 2020 13:39:29 -0500 Subject: [PATCH] Fix invalid function call in validation func The function was missing the parenthesis needed to trigger the function call. refs GH-83 --- config/validate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/validate.go b/config/validate.go index c96f1878..7748ef14 100644 --- a/config/validate.go +++ b/config/validate.go @@ -56,7 +56,7 @@ func validate(c Config) error { "Valid, non-privileged user port between %d and %d configured: %d", TCPUserPortStart, TCPUserPortEnd, - c.LocalTCPPort, + c.LocalTCPPort(), ) // WARNING: User opted to use a dynamic or private TCP port