diff options
author | jim-p <jimp@pfsense.org> | 2011-01-27 16:53:38 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-01-27 16:54:28 -0500 |
commit | fc05822bb81639e5479c54da5d75542c30d8c27f (patch) | |
tree | 4cab42fc90e8f63cd5777b146d5a330a862f6602 /etc/inc/openvpn.inc | |
parent | a798fd3e7a8d24a4d25f46f9b67eeff47d69d12a (diff) | |
download | pfsense-fc05822bb81639e5479c54da5d75542c30d8c27f.zip pfsense-fc05822bb81639e5479c54da5d75542c30d8c27f.tar.gz |
Don't pass these by reference. Might be related to ticket #1231
Diffstat (limited to 'etc/inc/openvpn.inc')
-rw-r--r-- | etc/inc/openvpn.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc index ce1e9fd..496b8bc 100644 --- a/etc/inc/openvpn.inc +++ b/etc/inc/openvpn.inc @@ -278,7 +278,7 @@ function openvpn_add_keyfile(& $data, & $conf, $mode_id, $directive, $opt = "") $conf .= "{$directive} {$fpath} {$opt}\n"; } -function openvpn_reconfigure($mode,& $settings) { +function openvpn_reconfigure($mode, $settings) { global $g, $config; if (empty($settings)) @@ -571,7 +571,7 @@ function openvpn_reconfigure($mode,& $settings) { @chmod("{$g['varetc_path']}/openvpn/{$mode_id}.conf", 0600); } -function openvpn_restart($mode, & $settings) { +function openvpn_restart($mode, $settings) { global $g, $config; $vpnid = $settings['vpnid']; @@ -683,7 +683,7 @@ function openvpn_delete_csc(& $settings) { } // Resync the configuration and restart the VPN -function openvpn_resync($mode, & $settings) { +function openvpn_resync($mode, $settings) { openvpn_reconfigure($mode, $settings); openvpn_restart($mode, $settings); } |