| Summary: | Legend in dns.cgi disappears | ||
|---|---|---|---|
| Product: | IPFire | Reporter: | Adam <ag> |
| Component: | --- | Assignee: | Michael Tremer <michael.tremer> |
| Status: | ON_QA --- | QA Contact: | |
| Severity: | Aesthetic Issue | ||
| Priority: | - Unknown - | CC: | adolf.belka, bbitsch, michael.tremer |
| Version: | 2 | ||
| Hardware: | all | ||
| OS: | All | ||
|
Description
Adam
2025-12-05 14:12:02 UTC
The bug is also present in CU198. The solution is just to change line 714, file /srv/web/cgi-bin/dns.cgi
from
if (($settings{'USE_ISP_NAMESERVERS'} eq "on") && ($server_amount > 2)) {
to
if ($server_amount > ($settings{'USE_ISP_NAMESERVERS'} eq "on")?2:0) {
Thanks for reporting and thanks for the suggested fix. I took the fix, but made it slightly more readable instead of having everything in one line:
> https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=5489d3994a93f95e4e85bf5cdc711b6b0eef01ca
|