diff --git a/redir_iptables_2.go b/redir_iptables_2.go index 6a2abb5..57c10a1 100644 --- a/redir_iptables_2.go +++ b/redir_iptables_2.go @@ -11,6 +11,11 @@ package obfssh #include #include +// the RPI toolchain does not have this macro +#ifndef IP6T_SO_ORIGINAL_DST +#define IP6T_SO_ORIGINAL_DST 80 +#endif + int get_original_dst4(int fd, void *addr); int get_original_dst6(int fd, void *addr);