476ca0ea41
Signed-off-by: Artem Makhutov <artem@makhutov.org> git-svn-id: svn://svn.openwrt.org/openwrt/packages@28102 3c298f89-4303-0410-b956-a3cf2f4a3e73
15 lines
750 B
Diff
15 lines
750 B
Diff
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;
|
|
}
|