From e9cbb9895c08f41c76fe0bcf1ab12b2f40c18145 Mon Sep 17 00:00:00 2001 From: logwang Date: Mon, 8 Jan 2018 21:46:47 +0800 Subject: [PATCH] Ipfw: fix "invalid argument" when using `divert`. Note that this only fix the error, `divert` is still not usable, refer to #136. If you want to use NAT, you can just use the built-in `ipfw nat` instead. --- lib/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Makefile b/lib/Makefile index be1e91b86..8166ba728 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -346,6 +346,7 @@ NETINET_SRCS+= \ in_proto.c \ in_rmx.c \ ip_carp.c \ + ip_divert.c \ ip_ecn.c \ ip_encap.c \ ip_fastfwd.c \