aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f98527f..a464d52 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -158,6 +158,8 @@ static int get_connector_type_by_name(const char *name) {
return 2;
else if(len >= 12 && strncmp(name, "DisplayPort-", 12) == 0)
return 3;
+ else if(len >= 4 && strncmp(name, "eDP-", 4) == 0)
+ return 4;
else
return -1;
}