[X2Go-Commits] [x2goserver] 01/01: x2goserver/lib/x2gogetrandomport: fix function name, leading to startup failures.

git-admin at x2go.org git-admin at x2go.org
Sun Jan 14 03:57:05 CET 2018


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goserver.

commit 75ce8f2e51e3d96953ddff8192ddc9e25d78e99e
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Jan 14 03:56:41 2018 +0100

    x2goserver/lib/x2gogetrandomport: fix function name, leading to startup failures.
---
 debian/changelog                 | 2 ++
 x2goserver/lib/x2gogetrandomport | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 20b9474..15cbf31 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -226,6 +226,8 @@ x2goserver (4.1.0.0-0x2go1.2) UNRELEASED; urgency=low
       more compatible with the old behavior (and python-x2go/PyHoca).
     - x2goserver/bin/x2go{resume-session,runcommand}: drop obsolete and
       now-unused NX_XINERAMA_CONF variable.
+    - x2goserver/lib/x2gogetrandomport: fix function name, leading to startup
+      failures.
   * x2goserver.spec:
     - Only create session DB in x2goserver's post install script. Do use
       proper Requires(post) statements to make sure perl-X2Go-Server-DB and
diff --git a/x2goserver/lib/x2gogetrandomport b/x2goserver/lib/x2gogetrandomport
index c269270..6112fc0 100755
--- a/x2goserver/lib/x2gogetrandomport
+++ b/x2goserver/lib/x2gogetrandomport
@@ -103,14 +103,14 @@ randomize_ssh_port_config_value="$("${x2go_lib_path}/x2goqueryconfig" "x2goagent
 
 if [ "${randomize_ssh_port}" = "1" ]; then
 	"${x2go_lib_path}/x2gosyslog" "${0}" "debug" "Full SSH port randomization requested."
-	get_random_port
+	get_pure_random_port
 else
 	"${x2go_lib_path}/x2gosyslog" "${0}" "debug" "host-based SSH port initialization requested."
 
 	if ! get_host_based_random_port; then
 		"${x2go_lib_path}/x2gosyslog" "${0}" "warning" "IP-based SSH port initialization requested, but failed to fetch primary address."
 		"${x2go_lib_path}/x2gosyslog" "${0}" "warning" "Falling back to randomization."
-		get_random_port
+		get_pure_random_port
 	fi
 fi
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list