aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/fuzz/setconf.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-03 16:52:29 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-02-03 18:17:27 +0100
commitef117a91d1aa3caf02f89d0a824fee80a8f88b88 (patch)
tree4c5ec496f53b0e54f3555160d4503af5f4a60bdc /src/fuzz/setconf.c
parentembeddable-wg-library: use newer string_list (diff)
downloadwireguard-tools-ef117a91d1aa3caf02f89d0a824fee80a8f88b88.tar.xz
wireguard-tools-ef117a91d1aa3caf02f89d0a824fee80a8f88b88.zip
netlink: remove libmnl requirement
It turns out that the binary actually gets smaller if we simply inline the very small parts of libmnl that we need. Since we wind up needing the mnlg bits anyway, there's little benefit in linking to libmnl. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/fuzz/setconf.c')
-rw-r--r--src/fuzz/setconf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fuzz/setconf.c b/src/fuzz/setconf.c
index 44bfeb9..1f2bd75 100644
--- a/src/fuzz/setconf.c
+++ b/src/fuzz/setconf.c
@@ -13,7 +13,6 @@
#undef parse_allowedips
#include "../encoding.c"
#include "../config.c"
-#include "../mnlg.c"
static FILE *hacked_fopen(const char *pathname, const char *mode);
#define fopen hacked_fopen
#include "../setconf.c"