summaryrefslogtreecommitdiff
path: root/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sandbox.c b/sandbox.c
index 6eafc43..b7c602e 100644
--- a/sandbox.c
+++ b/sandbox.c
@@ -46,11 +46,11 @@ LL_BEGIN(sbox_enter_linux_, const char* basedir, const char *address, int smail)
46 46
47 if (*address != '/') { 47 if (*address != '/') {
48 unsigned short listen_port = xs_number_get(xs_dict_get(srv_config, "port")); 48 unsigned short listen_port = xs_number_get(xs_dict_get(srv_config, "port"));
49 LL_PORT(listen_port, LANDLOCK_ACCESS_NET_BIND_TCP); 49 LL_PORT(listen_port, LANDLOCK_ACCESS_NET_BIND_TCP_COMPAT);
50 } 50 }
51 51
52 LL_PORT(80, LANDLOCK_ACCESS_NET_CONNECT_TCP); 52 LL_PORT(80, LANDLOCK_ACCESS_NET_CONNECT_TCP_COMPAT);
53 LL_PORT(443, LANDLOCK_ACCESS_NET_CONNECT_TCP); 53 LL_PORT(443, LANDLOCK_ACCESS_NET_CONNECT_TCP_COMPAT);
54 54
55} LL_END 55} LL_END
56 56