diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-03-28 08:58:35 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-03-28 08:58:35 +0100 |
commit | db7feaf9883bb0dc419593588036405ef12ebca1 (patch) | |
tree | 1a911fe1a08aed78845e17b5350c9238452a12dd /nxcomp/Misc.cpp | |
parent | e77bf36d9afbc7e56522574b06217d57c11dd095 (diff) | |
download | nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.tar.gz nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.tar.bz2 nx-libs-db7feaf9883bb0dc419593588036405ef12ebca1.zip |
Revert "release 3.5.0.19"
This reverts commit e77bf36d9afbc7e56522574b06217d57c11dd095.
Diffstat (limited to 'nxcomp/Misc.cpp')
-rw-r--r-- | nxcomp/Misc.cpp | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/nxcomp/Misc.cpp b/nxcomp/Misc.cpp index 0095eaa74..2c72259e3 100644 --- a/nxcomp/Misc.cpp +++ b/nxcomp/Misc.cpp @@ -15,11 +15,11 @@ /* */ /**************************************************************************/ -#include <cstdio> -#include <cctype> -#include <cstdlib> +#include <stdio.h> +#include <ctype.h> +#include <stdlib.h> #include <unistd.h> -#include <csignal> +#include <signal.h> #include <errno.h> #include <string.h> @@ -42,14 +42,6 @@ #undef DEBUG // -// By default nxproxy binds to all network interfaces, setting -// DEFAULT_LOOPBACK_BIND to 1 enables binding to the loopback -// device only. -// - -const int DEFAULT_LOOPBACK_BIND = 0; - -// // TCP port offset applied to any NX port specification. // @@ -145,8 +137,6 @@ static const char UsageInfo[] = \n\ listen=n Local port used for accepting the proxy connection.\n\ \n\ - loopback=b Bind to the loopback device only.\n\ -\n\ accept=s Name or IP of host that can connect to the proxy.\n\ \n\ connect=s Name or IP of host that the proxy will connect to.\n\ |