send VID_NATT_IETF_02_N for Windows 2003 server support
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 3 Apr 2007 21:10:08 +0000 (21:10 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 3 Apr 2007 21:10:08 +0000 (21:10 -0000)
src/pluto/nat_traversal.c

index ea75e26..4a52cc1 100644 (file)
@@ -173,7 +173,9 @@ bool nat_traversal_add_vid(u_int8_t np, pb_stream *outs)
        if (r)
            r = out_vendorid(ISAKMP_NEXT_VID, outs, VID_NATT_IETF_03);
        if (r)
-           r = out_vendorid(last_np, outs, VID_NATT_IETF_02);
+           r = out_vendorid(ISAKMP_NEXT_VID, outs, VID_NATT_IETF_02);
+       if (r)
+           r = out_vendorid(last_np, outs, VID_NATT_IETF_02_N);
     }
     if (nat_traversal_support_non_ike)
     {