version 1.22, 2000/06/03 14:36:37 |
version 1.23, 2000/06/20 02:24:42 |
Line 206 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
Line 206 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
|
|
if (sp == NULL) { |
if (sp == NULL) { |
ipsec6stat.out_inval++; |
ipsec6stat.out_inval++; |
goto bad; |
goto freehdrs; |
} |
} |
|
|
error = 0; |
error = 0; |
Line 218 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
Line 218 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
* This packet is just discarded. |
* This packet is just discarded. |
*/ |
*/ |
ipsec6stat.out_polvio++; |
ipsec6stat.out_polvio++; |
goto bad; |
goto freehdrs; |
|
|
case IPSEC_POLICY_BYPASS: |
case IPSEC_POLICY_BYPASS: |
case IPSEC_POLICY_NONE: |
case IPSEC_POLICY_NONE: |
Line 231 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
Line 231 ip6_output(m0, opt, ro, flags, im6o, ifp |
|
/* XXX should be panic ? */ |
/* XXX should be panic ? */ |
printf("ip6_output: No IPsec request specified.\n"); |
printf("ip6_output: No IPsec request specified.\n"); |
error = EINVAL; |
error = EINVAL; |
goto bad; |
goto freehdrs; |
} |
} |
needipsec = 1; |
needipsec = 1; |
break; |
break; |