e6fc392521
lot of improvements in nse scripting engine and in ipv6 support Full changelog: http://nmap.org/changelog.html Help and ok sthen@ and dcoppa@
19 lines
616 B
Plaintext
19 lines
616 B
Plaintext
$OpenBSD: patch-libdnet-stripped_src_intf_c,v 1.2 2012/12/19 17:12:11 giovanni Exp $
|
|
--- libdnet-stripped/src/intf.c.orig Mon Sep 10 03:17:28 2012
|
|
+++ libdnet-stripped/src/intf.c Fri Nov 30 12:41:47 2012
|
|
@@ -77,7 +77,13 @@
|
|
/* XXX - superset of ifreq, for portable SIOC{A,D}IFADDR */
|
|
struct dnet_ifaliasreq {
|
|
char ifra_name[IFNAMSIZ];
|
|
- struct sockaddr ifra_addr;
|
|
+ union {
|
|
+ struct sockaddr ifrau_addr;
|
|
+ int ifrau_align;
|
|
+ } ifra_ifrau;
|
|
+#ifndef ifra_addr
|
|
+#define ifra_addr ifra_ifrau.ifrau_addr
|
|
+#endif
|
|
struct sockaddr ifra_brdaddr;
|
|
struct sockaddr ifra_mask;
|
|
int ifra_cookie; /* XXX - IRIX!@#$ */
|