- Fix network_dst_address_refresh() crash when trying to reset ip address.
This commit is contained in:
1 parent
6317958572
commit
8756db075e
3 files changed
+14
-3
No files matched your search
@@ -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
|
Network Tools V 1.2.5 - A. GIBERT - 2026/10/17
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define name network_tools
|
%define name network_tools
|
||||||
%define version 1.2.5
|
%define version 1.2.6
|
||||||
%define release %mkrel 1rx3
|
%define release %mkrel 1rx3
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
@@ -213,8 +213,11 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
|||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 24 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.6-1rx3.mga9
|
||||||
|
- Update to 1.2.6
|
||||||
|
|
||||||
* Sat Oct 17 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.5-1rx3.mga9
|
* Sat Oct 17 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.5-1rx3.mga9
|
||||||
- Update to 1.2.4
|
- Update to 1.2.5
|
||||||
|
|
||||||
* Sun Sep 13 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.4-1rx3.mga9
|
* Sun Sep 13 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.4-1rx3.mga9
|
||||||
- Update to 1.2.4
|
- Update to 1.2.4
|
||||||
|
|||||||
@@ -1146,8 +1146,8 @@ network_dst_address_refresh()
|
|||||||
then
|
then
|
||||||
if [[ ( ( "${dst_ip}" != "0.0.0.0") && ( "${dst_status}" != 1)) ]]
|
if [[ ( ( "${dst_ip}" != "0.0.0.0") && ( "${dst_status}" != 1)) ]]
|
||||||
then
|
then
|
||||||
log_info "Network" "Reseting IP: [${dst_host_name}]: IP: [${dst_ip_new}] Status: (${dst_status})"
|
|
||||||
dst_ip_new="0.0.0.0"
|
dst_ip_new="0.0.0.0"
|
||||||
|
log_info "Network" "Reseting IP: [${dst_host_name}]: IP: [${dst_ip_new}] Status: (${dst_status})"
|
||||||
else
|
else
|
||||||
dst_ip_new="$( nc -w "${NETWORK_NC_TIMEOUT}" "${proxy_host}" "${proxy_port}" 2>/dev/null)" || true
|
dst_ip_new="$( nc -w "${NETWORK_NC_TIMEOUT}" "${proxy_host}" "${proxy_port}" 2>/dev/null)" || true
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user