patch-2.1.79 linux/net/ipv6/icmp.c

Next file: linux/net/ipv6/ip6_fib.c
Previous file: linux/net/ipv6/datagram.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.78/linux/net/ipv6/icmp.c linux/net/ipv6/icmp.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Pedro Roque		<roque@di.fc.ul.pt>
  *
- *	$Id: icmp.c,v 1.11 1997/09/20 20:48:26 davem Exp $
+ *	$Id: icmp.c,v 1.12 1997/12/13 21:53:10 kuznet Exp $
  *
  *	Based on net/ipv4/icmp.c
  *
@@ -179,7 +179,7 @@
 	
 	addr_type = ipv6_addr_type(&hdr->daddr);
 
-	if (ipv6_chk_addr(&hdr->daddr))
+	if (ipv6_chk_addr(&hdr->daddr, NULL, 0))
 		saddr = &hdr->daddr;
 
 	/*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov