003-microsoft-fqdn-in-main.patch 547 B

12345678910111213
  1. --- a/src/racoon/ipsec_doi.c
  2. +++ b/src/racoon/ipsec_doi.c
  3. @@ -3581,8 +3581,8 @@ ipsecdoi_checkid1(iph1)
  4. iph1->approval->authmethod == OAKLEY_ATTR_AUTH_METHOD_PSKEY) {
  5. if (id_b->type != IPSECDOI_ID_IPV4_ADDR
  6. && id_b->type != IPSECDOI_ID_IPV6_ADDR) {
  7. - plog(LLV_ERROR, LOCATION, NULL,
  8. - "Expecting IP address type in main mode, "
  9. + plog(LLV_WARNING, LOCATION, NULL,
  10. + "Expecting IP address type in main mode (RFC2409) , "
  11. "but %s.\n", s_ipsecdoi_ident(id_b->type));
  12. return ISAKMP_NTYPE_INVALID_ID_INFORMATION;
  13. }