From 2163b6aa171ebc2e4501ef2ff760915e9b45f7de Mon Sep 17 00:00:00 2001 From: Jon Kolb Date: Sun, 16 Feb 2020 20:42:20 -0500 Subject: [PATCH] Add https://github.com/4thline/cling client detection requiring FLAG_MS_PFS --- clients.c | 7 +++++++ clients.h | 1 + 2 files changed, 8 insertions(+) diff --git a/clients.c b/clients.c index 543835e..e9d7448 100644 --- a/clients.c +++ b/clients.c @@ -54,6 +54,13 @@ struct client_type_s client_types[] = EXAVClientInfo }, + { ECling, + FLAG_MS_PFS, + "Cling", + "Cling/", + EUserAgent + }, + /* User-Agent: DLNADOC/1.50 SEC_HHP_[PC]LPC001/1.0 MS-DeviceCaps/1024 */ /* This is AllShare running on a PC. We don't want to respond with Samsung * capabilities, or Windows (and AllShare) might get grumpy. */ diff --git a/clients.h b/clients.h index 43762bd..a592566 100644 --- a/clients.h +++ b/clients.h @@ -56,6 +56,7 @@ enum match_types { enum client_types { EXbox = 1, EPS3, + ECling, EDenonReceiver, EDirecTV, EFreeBox,