aboutsummaryrefslogtreecommitdiff
path: root/src/jail.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jail.c')
-rw-r--r--src/jail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jail.c b/src/jail.c
index 9ed75f8..e94d069 100644
--- a/src/jail.c
+++ b/src/jail.c
@@ -340,6 +340,7 @@ static int jail_childfn(prisoner_process *ctx)
case 0:
if (mount_proc(path_proc))
exit(EXIT_FAILURE);
+ socket_set_ifaddr(&ctx->client_psock, "lo", "127.0.0.1", "255.0.0.0");
/*
if (update_setgroups_self(0))
exit(EXIT_FAILURE);