Project

General

Profile

« Previous | Next » 

Revision 6be90004

Added by Jim Pingle over 14 years ago

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.

View differences:

usr/local/www/wizards/openvpn_wizard.inc
603 603
		$rule['destination']['network'] = $server['interface'] . "ip";
604 604
		$rule['destination']['port'] = $server['local_port'];
605 605
		$rule['interface'] = $server['interface'];
606
		$rule['protocol'] = $server['protocol'];
606
		$rule['protocol'] = strtolower($server['protocol']);
607 607
		$rule['type'] = "pass";
608 608
		$rule['enabled'] = "on";
609 609
		$config['filter']['rule'][] = $rule;

Also available in: Unified diff