From afb2ec069614ac8fc21ba07fcf699b51e349a199 Mon Sep 17 00:00:00 2001 From: Vladimir Dubrovin <3proxy@3proxy.ru> Date: Fri, 17 Jul 2026 15:12:49 +0300 Subject: [PATCH] IPV6_BOUND_IF also in second place --- src/proxymain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/proxymain.c b/src/proxymain.c index fe938f8..08eef95 100644 --- a/src/proxymain.c +++ b/src/proxymain.c @@ -772,6 +772,9 @@ int MODULEMAINFUNC (int argc, char** argv){ return -12; } #ifndef NOIPV6 +#ifndef IPV6_BOUND_IF +#define IPV6_BOUND_IF 125 +#endif if((*SAFAMILY(&srv.intsa) == AF_INET6 && srv.so._setsockopt(srv.so.state, sock, IPPROTO_IPV6, IPV6_BOUND_IF, &idx, sizeof(idx)))) { dolog(&defparam, (unsigned char *)"failed to bind device"); return -12;