diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_server.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index 12a883c..6d44b5d 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -1497,8 +1497,10 @@ events.push(function() { hideInput('local_networkv6', true); hideInput('topology', true); } else { - hideInput('local_network', false); - hideInput('local_networkv6', false); + // For tunnel mode that is not shared key, + // the display status of local network fields depends on + // the state of the gwredir checkbox. + gwredir_change(); hideInput('topology', false); } break; |