Detect windows hosts to add specific workarounds.
This commit is contained in:
@@ -61,6 +61,7 @@ struct msg_digest {
|
|||||||
notification_t note; /* reason for failure */
|
notification_t note; /* reason for failure */
|
||||||
bool dpd; /* peer supports RFC 3706 DPD */
|
bool dpd; /* peer supports RFC 3706 DPD */
|
||||||
bool openpgp; /* peer supports OpenPGP certificates */
|
bool openpgp; /* peer supports OpenPGP certificates */
|
||||||
|
bool ms_nt5; /* peer is a windows 2000+ host */
|
||||||
|
|
||||||
# define PAYLIMIT 40
|
# define PAYLIMIT 40
|
||||||
struct payload_digest
|
struct payload_digest
|
||||||
|
|||||||
@@ -382,6 +382,12 @@ static void handle_known_vendorid (struct msg_digest *md, const char *vidstr,
|
|||||||
vid_useful = TRUE;
|
vid_useful = TRUE;
|
||||||
break;
|
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
|
* Use most recent supported NAT-Traversal method and ignore the
|
||||||
* other ones (implementations will send all supported methods but
|
* other ones (implementations will send all supported methods but
|
||||||
|
|||||||
Reference in New Issue
Block a user