Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1549 Cannot select no for DNS ISP

1.130
closed
Jamie Cameron
ADSL Client (9)
5
2004-03-20
2004-03-19
No

In the option "Get DNS configuration from ISP?", when
you select option "no" it always saves as yes. Here is
the patch to fix the problem:

--- webmin-1.130/adsl-client/index.cgi.orig
2004-03-17 14:26:47.685075568 -0300
+++ webmin-1.130/adsl-client/index.cgi 2004-03-17
14:25:46.230418096 -0300
@@ -96,7 +96,7 @@
print "<tr> <td><b>",&hlink($text{'index_dns'},
"dns"),"</b></td>\n";
printf "<td><input type=radio name=dns
value=yes %s> %s\n",
$dns =~ /yes/i ? "checked" : "",
$text{'yes'};
- printf "<input type=radio name=dns value=yes
%s> %s</td>\n",
+ printf "<input type=radio name=dns value=no %s>
%s</td>\n",
$dns =~ /yes/i ? "" : "checked",
$text{'no'};

# Show connect timeout field

Discussion

    • summary: Cannot select "no" option for DNS ISP --> Cannot select
     
  • Logged In: YES
    user_id=1001348

    I think it's better to attach the patch :)

     
    • summary: Cannot select --> Cannot select no for DNS ISP
     
  • Jamie Cameron
    Jamie Cameron
    2004-03-20

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2004-03-20

    Logged In: YES
    user_id=129364

    Thanks! I will fix that in the next Webmin release ..