pkgsrc/net/nmap/patches/patch-libdnet-stripped_src_arp-bsd.c
adam ce5fd31c01 Nmap 7.12
o [Zenmap] Avoid file corruption in zenmap.conf, reported as files containing
  many null ("\x00") characters. Example exception:
    ValueError: unable to parse colour specification

o [NSE] VNC updates including vnc-brute support for TLS security type and
  negotiating a lower RFB version if the server sends an unknown higher
  version.

o [NSE] Added STARTTLS support for VNC, NNTP, and LMTP

o Added new service probes and match lines for OpenVPN on UDP and TCP.
2016-04-09 06:38:05 +00:00

16 lines
457 B
C

$NetBSD: patch-libdnet-stripped_src_arp-bsd.c,v 1.1 2016/04/09 06:38:05 adam Exp $
Fix building on systems where RTF_LLINFO is not defined.
--- libdnet-stripped/src/arp-bsd.c.orig 2016-04-09 06:32:03.612302485 +0000
+++ libdnet-stripped/src/arp-bsd.c
@@ -22,6 +22,9 @@
#include <net/if.h>
#include <net/if_dl.h>
#include <net/route.h>
+#ifndef RTF_LLINFO
+#define RTF_LLINFO RTF_LLDATA
+#endif
#include <netinet/in.h>
#include <netinet/if_ether.h>