From f9fcfbc533f3c744d780edf1c72f16e3f3a7d7b0 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sat, 28 Mar 2020 16:05:28 +0000 Subject: [PATCH] Fix compile on Linux --- src/script.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/script.c b/src/script.c index 04620ce1..bb17d12c 100644 --- a/src/script.c +++ b/src/script.c @@ -570,6 +570,10 @@ send_interface(struct fd_list *fd, const struct interface *ifp, int af) const struct dhcp6_state *d6; #endif +#ifndef AF_LINK +#define AF_LINK AF_PACKET +#endif + if (af == AF_UNSPEC || af == AF_LINK) { const char *reason; -- 2.47.3