diff options
author | jim-p <jimp@pfsense.org> | 2011-03-03 09:22:45 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-03-03 09:24:04 -0500 |
commit | 6be90004d477bd74c5610ae341aae3ae9fcc9281 (patch) | |
tree | 4519e0698da9077a775632a59e5e687f846b27ec | |
parent | 67b0ed57e87ac81d91feb01a129fd1980ca83e3e (diff) | |
download | pfsense-6be90004d477bd74c5610ae341aae3ae9fcc9281.zip pfsense-6be90004d477bd74c5610ae341aae3ae9fcc9281.tar.gz |
Ensure the protocol on the firewall rule from the OpenVPN wizard ends up lower case, or it causes some GUI irregularities. Seen http://forum.pfsense.org/index.php/topic,33865.0.html and elsewhere.
-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; |