From: VANHULLEBUS Y. <va...@us...> - 2005-01-23 16:33:36
|
Update of /cvsroot/ipsec-tools/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28268 Modified Files: freebsd_nat-t.diff Log Message: fixed udp_ctloutput() Index: freebsd_nat-t.diff =================================================================== RCS file: /cvsroot/ipsec-tools/htdocs/freebsd_nat-t.diff,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- freebsd_nat-t.diff 6 Jan 2005 21:10:36 -0000 1.1 +++ freebsd_nat-t.diff 23 Jan 2005 16:33:26 -0000 1.2 @@ -142,7 +142,7 @@ + family = so->so_proto->pr_domain->dom_family; + + s = splnet(); -+ if (sopt->sopt_level != IPPROTO_TCP) { ++ if (sopt->sopt_level != IPPROTO_UDP) { +#ifdef INET6 + if (INP_CHECK_SOCKAF(so, AF_INET6)) + error = ip6_ctloutput(so, sopt); |