Drop unneeded #include hunk, and regen patches
This commit is contained in:
parent
efb4ddc7cb
commit
e597acc181
@ -1,15 +1,8 @@
|
|||||||
$OpenBSD: patch-ifaddrlist_c,v 1.1 2005/05/24 00:00:11 mjc Exp $
|
$OpenBSD: patch-ifaddrlist_c,v 1.2 2018/12/19 10:23:40 jca Exp $
|
||||||
--- ifaddrlist.c.orig Fri Oct 16 10:50:49 1998
|
Index: ifaddrlist.c
|
||||||
+++ ifaddrlist.c Mon May 23 09:50:51 2005
|
--- ifaddrlist.c.orig
|
||||||
@@ -46,7 +46,6 @@ struct mbuf;
|
+++ ifaddrlist.c
|
||||||
struct rtentry;
|
@@ -223,7 +223,7 @@ set_up_interface(char *device, struct sockaddr_in *sin
|
||||||
#endif
|
|
||||||
|
|
||||||
-#include <net/if.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
|
|
||||||
#include <ctype.h>
|
|
||||||
@@ -223,7 +222,7 @@ set_up_interface(char *device, struct so
|
|
||||||
{
|
{
|
||||||
fprintf(stdout,
|
fprintf(stdout,
|
||||||
"Multiple interfaces found, using %s @ %s.\n",
|
"Multiple interfaces found, using %s @ %s.\n",
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
$OpenBSD: patch-packet_c,v 1.1 2005/05/24 00:00:11 mjc Exp $
|
$OpenBSD: patch-packet_c,v 1.2 2018/12/19 10:23:40 jca Exp $
|
||||||
--- packet.c.orig Tue Dec 15 15:58:01 1998
|
Index: packet.c
|
||||||
+++ packet.c Mon May 23 09:50:51 2005
|
--- packet.c.orig
|
||||||
@@ -237,7 +237,8 @@ print_ip(u_char *packet, struct firepack
|
+++ packet.c
|
||||||
|
@@ -237,7 +237,8 @@ print_ip(u_char *packet, struct firepack *fp)
|
||||||
struct ip *ip_hdr;
|
struct ip *ip_hdr;
|
||||||
|
|
||||||
ip_hdr = (struct ip *)(packet + fp->packet_offset);
|
ip_hdr = (struct ip *)(packet + fp->packet_offset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user