Skip to content
This repository has been archived by the owner on Dec 14, 2020. It is now read-only.

Commit

Permalink
webui: Properly display Advertise DNS if Respond DNS is already enabl…
Browse files Browse the repository at this point in the history
…ed when the page is loaded
  • Loading branch information
RMerl committed Jan 16, 2014
1 parent e26234d commit 4ec5f4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release/src/router/www/Advanced_VPNAdvanced_Content.asp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ ciphersarray = [
function initial(){
show_menu();
change_mode(initial_vpn_mode);
check_dns_wins();
Expand Down Expand Up @@ -200,6 +199,9 @@ function initial(){
// Set these based on a compound field
setRadioValue(document.openvpn_form.vpn_server_x_dns, ((document.openvpn_form.vpn_serverx_dns.value.indexOf(''+(openvpn_unit)) >= 0) ? "1" : "0"));
// Display appropriate page
change_mode(initial_vpn_mode);
// Decode into editable format
openvpn_decodeKeys(0);
}
Expand Down

0 comments on commit 4ec5f4f

Please sign in to comment.