branch Attitude Adjustment packages
[12.09/packages.git] / net / ipsec-tools / patches / 003-microsoft-fqdn-in-main.patch
1 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
2 --- a/src/racoon/ipsec_doi.c    2010-12-14 19:57:31.000000000 +0200
3 +++ b/src/racoon/ipsec_doi.c    2011-07-13 12:07:44.000000000 +0300
4 @@ -3582,8 +3582,8 @@
5             iph1->approval->authmethod == OAKLEY_ATTR_AUTH_METHOD_PSKEY) {
6                  if (id_b->type != IPSECDOI_ID_IPV4_ADDR
7                   && id_b->type != IPSECDOI_ID_IPV6_ADDR) {
8 -                       plog(LLV_ERROR, LOCATION, NULL,
9 -                               "Expecting IP address type in main mode, "
10 +                       plog(LLV_WARNING, LOCATION, NULL,
11 +                               "Expecting IP address type in main mode (RFC2409) , "
12                                 "but %s.\n", s_ipsecdoi_ident(id_b->type));
13                         return ISAKMP_NTYPE_INVALID_ID_INFORMATION;
14                 }