From 4bcd02edbf59c5714ccb694ada0986e6f99eb093 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Mon, 3 Mar 2003 23:37:22 +0000 Subject: Fix -p option on 64-bit archs. Approved by: kris Obtained from: OpenBSD --- security/scanssh/files/patch-pcapu.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 security/scanssh/files/patch-pcapu.c (limited to 'security/scanssh/files/patch-pcapu.c') diff --git a/security/scanssh/files/patch-pcapu.c b/security/scanssh/files/patch-pcapu.c new file mode 100644 index 000000000000..2d2de113dc46 --- /dev/null +++ b/security/scanssh/files/patch-pcapu.c @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- pcapu.c.orig Mon Mar 3 17:55:38 2003 ++++ pcapu.c Mon Mar 3 17:56:03 2003 +@@ -47,8 +47,8 @@ + #include "config.h" + + struct phdr { +- unsigned long saddr; +- unsigned long daddr; ++ in_addr_t saddr; ++ in_addr_t daddr; + char zero; + unsigned char protocol; + unsigned short length; -- cgit v1.2.3