packages/net/ipsec-tools/patches/003-microsoft-fqdn-in-main.patch

15 lines
750 B
Diff
Raw Normal View History

diff -urN build_dir/linux-ar71xx_generic/ipsec-tools-0.8.0/src/racoon/ipsec_doi.c build_dir/linux-ar71xx_generic/ipsec-tools-0.8.0a/src/racoon/ipsec_doi.c
--- a/src/racoon/ipsec_doi.c 2010-12-14 19:57:31.000000000 +0200
+++ b/src/racoon/ipsec_doi.c 2011-07-13 12:07:44.000000000 +0300
@@ -3582,8 +3582,8 @@
iph1->approval->authmethod == OAKLEY_ATTR_AUTH_METHOD_PSKEY) {
if (id_b->type != IPSECDOI_ID_IPV4_ADDR
&& id_b->type != IPSECDOI_ID_IPV6_ADDR) {
- plog(LLV_ERROR, LOCATION, NULL,
- "Expecting IP address type in main mode, "
+ plog(LLV_WARNING, LOCATION, NULL,
+ "Expecting IP address type in main mode (RFC2409) , "
"but %s.\n", s_ipsecdoi_ident(id_b->type));
return ISAKMP_NTYPE_INVALID_ID_INFORMATION;
}