-/* $OpenBSD: ip_spd.c,v 1.56 2008/06/11 18:20:54 blambert Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.57 2008/07/22 09:26:39 bluhm Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
(caddr_t) &(ddst->sen_ip6_proto));
sdst.sin6.sin6_family = ssrc.sin6.sin6_family = AF_INET6;
- sdst.sin6.sin6_len = ssrc.sin6.sin6_family =
+ sdst.sin6.sin6_len = ssrc.sin6.sin6_len =
sizeof(struct sockaddr_in6);
in6_recoverscope(&ssrc.sin6, &ddst->sen_ip6_src, NULL);
in6_recoverscope(&sdst.sin6, &ddst->sen_ip6_dst, NULL);