diff --git a/packages/network/connman/package.mk b/packages/network/connman/package.mk index c5ced46a23..387c935a1f 100644 --- a/packages/network/connman/package.mk +++ b/packages/network/connman/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="connman" -PKG_VERSION="1cde7a6598a639d1f1eb16f7929f32919172ef10" -PKG_SHA256="680320f1c3de0c283b2df0d61807cd0ca88e012dc3ec906a0414b20a5866f19d" +PKG_VERSION="1.43" +PKG_SHA256="22acfe9d5958d7983090232334a692eee66a12f3077e09e4f360276608156738" PKG_LICENSE="GPL" PKG_SITE="http://www.connman.net" PKG_URL="https://git.kernel.org/pub/scm/network/connman/connman.git/snapshot/connman-${PKG_VERSION}.tar.gz" diff --git a/packages/network/connman/patches/connman-07-connman_gateway_add-fix-calculation-of-is_vpn6.patch b/packages/network/connman/patches/connman-07-connman_gateway_add-fix-calculation-of-is_vpn6.patch new file mode 100644 index 0000000000..c4274269ed --- /dev/null +++ b/packages/network/connman/patches/connman-07-connman_gateway_add-fix-calculation-of-is_vpn6.patch @@ -0,0 +1,30 @@ +From b1ed80a459ec31ae217897b7a3347d123e08d379 Mon Sep 17 00:00:00 2001 +From: mglae +Date: Sat, 14 Sep 2024 19:46:08 +0200 +Subject: __connman_gateway_add(): fix calculation of is_vpn6 + +Fix commit 823d5a2 "connection: Refactor '__connman_connection_gateway_add'" +--- + src/gateway.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/gateway.c b/src/gateway.c +index 16c87f83..b2c211e2 100644 +--- a/src/gateway.c ++++ b/src/gateway.c +@@ -3704,10 +3704,10 @@ int __connman_gateway_add(struct connman_service *service, + is_gateway_config_vpn( + new_gateway->ipv4_config); + +- is_vpn6 = do_ipv4 && +- new_gateway->ipv4_config && ++ is_vpn6 = do_ipv6 && ++ new_gateway->ipv6_config && + is_gateway_config_vpn( +- new_gateway->ipv4_config); ++ new_gateway->ipv6_config); + + } else { + if (do_ipv4 && new_gateway->ipv4_config) +-- +2.40.0