- Fix dns_lookup() crash when trying to lookup unknown name.
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
Network Tools V 1.2.5 - A. GIBERT - 2026/10/17
|
||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Fix dns_lookup() crash when trying to lookup unknown name.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
Network Tools V 1.2.4 - A. GIBERT - 2026/09/13
|
Network Tools V 1.2.4 - A. GIBERT - 2026/09/13
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define name network_tools
|
%define name network_tools
|
||||||
%define version 1.2.4
|
%define version 1.2.5
|
||||||
%define release %mkrel 1rx3
|
%define release %mkrel 1rx3
|
||||||
|
|
||||||
%global debug_package %{nil}
|
%global debug_package %{nil}
|
||||||
@@ -213,6 +213,9 @@ cp www/cgi-bin/*.cgi %{buildroot}%{_webcgi}
|
|||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 17 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.2.5-1rx3.mga9
|
||||||
|
- Update to 1.2.4
|
||||||
|
|
||||||
* 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
|
||||||
|
|
||||||
|
|||||||
@@ -239,7 +239,7 @@ dns_lookup()
|
|||||||
case ${dl_type}
|
case ${dl_type}
|
||||||
in
|
in
|
||||||
"A")
|
"A")
|
||||||
dns_value="$( dig +short ${dl_key} 2>/dev/null | ip_ip_filter)"
|
dns_value="$( dig +short ${dl_key} 2>/dev/null | ip_ip_filter || true)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"PTR")
|
"PTR")
|
||||||
|
|||||||
Reference in New Issue
Block a user