openbsd-ports/net/firewalk/patches/patch-packet_c
mjc 47dffcf587 update to cope with new libnet
and regen patches while here
ok pvalchev@ msf@
2005-05-24 00:00:11 +00:00

14 lines
473 B
Plaintext

$OpenBSD: patch-packet_c,v 1.1 2005/05/24 00:00:11 mjc Exp $
--- packet.c.orig Tue Dec 15 15:58:01 1998
+++ packet.c Mon May 23 09:50:51 2005
@@ -237,7 +237,8 @@ print_ip(u_char *packet, struct firepack
struct ip *ip_hdr;
ip_hdr = (struct ip *)(packet + fp->packet_offset);
- fprintf(stdout, "[%s]", host_lookup(ip_hdr->ip_src.s_addr, fp->use_name));
+ fprintf(stdout, "[%s]",
+ libnet_host_lookup(ip_hdr->ip_src.s_addr, fp->use_name));
}