2005-05-23 20:00:11 -04:00
|
|
|
$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
|
1999-12-16 22:43:18 -05:00
|
|
|
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));
|
|
|
|
}
|
|
|
|
|
|
|
|
|