ccda36cf68
- use NO_REGRESS - rename patch; add $OpenBSD$ - regen PLIST
13 lines
381 B
Plaintext
13 lines
381 B
Plaintext
$OpenBSD: patch-icmp_rdp_c,v 1.1 2002/03/25 07:57:16 jsyn Exp $
|
|
--- icmp_rdp.c.orig Wed Nov 24 06:16:31 1999
|
|
+++ icmp_rdp.c Wed Nov 24 06:17:32 1999
|
|
@@ -384,7 +384,7 @@
|
|
|
|
memcpy(&ip_packet, packet + 14, sizeof(struct ip));
|
|
|
|
- return(ip_packet.ip_src._S_un._S_addr);
|
|
+ return(ip_packet.ip_src.s_addr);
|
|
}
|
|
|
|
void send_icmp_rdisc_response(int sock, struct values *value_pass){
|