summaryrefslogtreecommitdiffhomepage
path: root/tcp-accept.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2004-08-12 13:54:31 +0000
committerMatt Johnston <matt@ucc.asn.au>2004-08-12 13:54:31 +0000
commit9ea7c3bfcf5fdf3728471b7325278fa59d80fc54 (patch)
tree6b54974ff5fc1c3c666d5f0a6f26af549436fb9b /tcp-accept.c
parente1057cd47720a03512e3ed0d5bbc2d5296b94fc2 (diff)
Oops, forgot to call the actual code.
--HG-- extra : convert_revision : 1394bf640a0721eb3851fdb9e534c5a65c8bc0f6
Diffstat (limited to 'tcp-accept.c')
-rw-r--r--tcp-accept.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tcp-accept.c b/tcp-accept.c
index 6b82914..63d9775 100644
--- a/tcp-accept.c
+++ b/tcp-accept.c
@@ -8,8 +8,7 @@
#include "listener.h"
#include "runopts.h"
-#ifndef DISABLE_TCP_ACCEPT
-
+#ifdef DROPBEAR_TCP_ACCEPT
static void cleanup_tcp(struct Listener *listener) {
@@ -94,4 +93,4 @@ int listen_tcpfwd(struct TCPListener* tcpinfo) {
return DROPBEAR_SUCCESS;
}
-#endif /* DISABLE_REMOTETCPFWD */
+#endif /* DROPBEAR_TCP_ACCEPT */