diff options
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/wizards/openvpn_wizard.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/wizards/openvpn_wizard.inc b/usr/local/www/wizards/openvpn_wizard.inc index 5af4510..e48cfb3 100644 --- a/usr/local/www/wizards/openvpn_wizard.inc +++ b/usr/local/www/wizards/openvpn_wizard.inc @@ -603,7 +603,7 @@ function step12_submitphpaction() { $rule['destination']['network'] = $server['interface'] . "ip"; $rule['destination']['port'] = $server['local_port']; $rule['interface'] = $server['interface']; - $rule['protocol'] = $server['protocol']; + $rule['protocol'] = strtolower($server['protocol']); $rule['type'] = "pass"; $rule['enabled'] = "on"; $config['filter']['rule'][] = $rule; |