From 6cd80e07273d7e7f291f15601f0cf77f88732351 Mon Sep 17 00:00:00 2001
From: Dengfeng Liu <liudf0716@gmail.com>
Date: Fri, 22 Sep 2023 03:40:23 +0000
Subject: [PATCH] xfrpc: update to version 2.9.644

Release notes:
https://github.com/liudf0716/xfrpc/releases/tag/2.9.644

Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
---
 net/xfrpc/Makefile         | 4 ++--
 net/xfrpc/files/xfrpc.init | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/xfrpc/Makefile b/net/xfrpc/Makefile
index d25c6b01c1..684bb84fb1 100644
--- a/net/xfrpc/Makefile
+++ b/net/xfrpc/Makefile
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=xfrpc
-PKG_VERSION:=2.6.633
+PKG_VERSION:=2.9.644
 PKG_RELEASE:=1
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/liudf0716/xfrpc.git
 PKG_SOURCE_VERSION:=$(PKG_VERSION)
-PKG_MIRROR_HASH:=b9d5c2f8dd0d323169a824bb59d65bcc27fe6e0564c6aede5b966220b99ccc7b
+PKG_MIRROR_HASH:=99cda337c641664d94abc3fe4e144c13a7f3191951e917e7a837ab88a7df4515
 
 PKG_MAINTAINER:=Dengfeng Liu <liudf0716@gmail.com>
 PKG_LICENSE:=GPL-3.0-or-later
diff --git a/net/xfrpc/files/xfrpc.init b/net/xfrpc/files/xfrpc.init
index 3b0ddedafc..cc803b0a27 100755
--- a/net/xfrpc/files/xfrpc.init
+++ b/net/xfrpc/files/xfrpc.init
@@ -28,7 +28,7 @@ handle_xfrpc() {
 		echo "local_ip = $local_ip" >> "$config"
 		echo "local_port = $local_port" >> "$config"
 		case "$type" in
-		tcp)
+		tcp|mstsc|socks5)
 			config_get remote_port "$name" remote_port
 			echo "remote_port = $remote_port" >> "$config"
 			;;
-- 
2.30.2