patch-icmp_rdp_c 381 B

12345678910111213
  1. $OpenBSD: patch-icmp_rdp_c,v 1.1 2002/03/25 07:57:16 jsyn Exp $
  2. --- icmp_rdp.c.orig Wed Nov 24 06:16:31 1999
  3. +++ icmp_rdp.c Wed Nov 24 06:17:32 1999
  4. @@ -384,7 +384,7 @@
  5. memcpy(&ip_packet, packet + 14, sizeof(struct ip));
  6. - return(ip_packet.ip_src._S_un._S_addr);
  7. + return(ip_packet.ip_src.s_addr);
  8. }
  9. void send_icmp_rdisc_response(int sock, struct values *value_pass){