From 8756db075e0b722bea33dfc76bbf945c86ecd693 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Sat, 24 Oct 2026 12:03:15 +0200 Subject: [PATCH] - Fix network_dst_address_refresh() crash when trying to reset ip address. --- ReleaseNotes.txt | 8 ++++++++ SPECS/network_tools.spec | 7 +++++-- lib/rx3/network.bash | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 7e94d9c..1fdf9a0 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,11 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Network Tools V 1.2.6 - A. GIBERT - 2026/10/24 +------------------------------------------------------------------------------------------------------------------------------------ + +- Fix network_dst_address_refresh() crash when trying to reset ip address. + + + ------------------------------------------------------------------------------------------------------------------------------------ Network Tools V 1.2.5 - A. GIBERT - 2026/10/17 ------------------------------------------------------------------------------------------------------------------------------------ diff --git a/SPECS/network_tools.spec b/SPECS/network_tools.spec index 849e00f..28a02df 100644 --- a/SPECS/network_tools.spec +++ b/SPECS/network_tools.spec @@ -24,7 +24,7 @@ %define name network_tools -%define version 1.2.5 +%define version 1.2.6 %define release %mkrel 1rx3 %global debug_package %{nil} @@ -213,8 +213,11 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi} #----------------------------------------------------------------------------------------------------------------------------------- %changelog +* Sat Oct 24 2026 Arnaud G. GIBERT - 1.2.6-1rx3.mga9 +- Update to 1.2.6 + * Sat Oct 17 2026 Arnaud G. GIBERT - 1.2.5-1rx3.mga9 -- Update to 1.2.4 +- Update to 1.2.5 * Sun Sep 13 2026 Arnaud G. GIBERT - 1.2.4-1rx3.mga9 - Update to 1.2.4 diff --git a/lib/rx3/network.bash b/lib/rx3/network.bash index 90cd237..f0fe862 100644 --- a/lib/rx3/network.bash +++ b/lib/rx3/network.bash @@ -1146,8 +1146,8 @@ network_dst_address_refresh() then if [[ ( ( "${dst_ip}" != "0.0.0.0") && ( "${dst_status}" != 1)) ]] then - log_info "Network" "Reseting IP: [${dst_host_name}]: IP: [${dst_ip_new}] Status: (${dst_status})" dst_ip_new="0.0.0.0" + log_info "Network" "Reseting IP: [${dst_host_name}]: IP: [${dst_ip_new}] Status: (${dst_status})" else dst_ip_new="$( nc -w "${NETWORK_NC_TIMEOUT}" "${proxy_host}" "${proxy_port}" 2>/dev/null)" || true fi