Detect windows hosts to add specific workarounds.

This commit is contained in:
Tobias Brunner
2010-02-12 10:57:39 +01:00
parent 71baf5a8f0
commit 38da64fe12
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ struct msg_digest {
notification_t note; /* reason for failure */
bool dpd; /* peer supports RFC 3706 DPD */
bool openpgp; /* peer supports OpenPGP certificates */
bool ms_nt5; /* peer is a windows 2000+ host */
# define PAYLIMIT 40
struct payload_digest
+6
View File
@@ -382,6 +382,12 @@ static void handle_known_vendorid (struct msg_digest *md, const char *vidstr,
vid_useful = TRUE;
break;
/* Remote side is a Windows 2000+ host */
case VID_MS_NT5:
md->ms_nt5 = TRUE;
vid_useful = TRUE;
break;
/*
* Use most recent supported NAT-Traversal method and ignore the
* other ones (implementations will send all supported methods but