aboutsummaryrefslogtreecommitdiff
path: root/src/jail.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jail.h')
-rw-r--r--src/jail.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jail.h b/src/jail.h
index 37a10a5..baa1d46 100644
--- a/src/jail.h
+++ b/src/jail.h
@@ -4,13 +4,13 @@
#include <sys/types.h>
#include <unistd.h>
-#include "socket.h"
+#include "forward.h"
#define MIN_STACKSIZE 2048
#define MAX_STACKSIZE BUFSIZ
typedef struct jail_ctx {
- psocket sock;
+ forward_ctx fwd_ctx;
char host_buf[NI_MAXHOST], service_buf[NI_MAXSERV];
size_t stacksize;
void *stack_ptr;