summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitriy K. <DasTestament@users.noreply.github.com>2014-06-24 16:27:00 +0400
committerDmitriy K. <DasTestament@users.noreply.github.com>2014-06-24 16:27:00 +0400
commitb1e8e6757f9617c38842de9ac4ab222af42229d7 (patch)
tree2233065052e70e7a27528500b950f2aa7e0d0539
parent5b3c01165ec6317d52d3d4a2c0ef8ab94472d4da (diff)
downloadpfsense-b1e8e6757f9617c38842de9ac4ab222af42229d7.zip
pfsense-b1e8e6757f9617c38842de9ac4ab222af42229d7.tar.gz
Update openvpn.inc
-rw-r--r--etc/inc/openvpn.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/inc/openvpn.inc b/etc/inc/openvpn.inc
index a6ef2f1..4d307c2 100644
--- a/etc/inc/openvpn.inc
+++ b/etc/inc/openvpn.inc
@@ -476,13 +476,12 @@ function openvpn_reconfigure($mode, $settings) {
}
}
+
+ $conf = "dev {$devname}\n";
if (isset($settings['verbosity_level'])) {
- $conf = "verb {$settings['verbosity_level']}\n";
- } else {
- $conf = 'verb 1\n'; // Default verbosity level
+ $conf .= "verb {$settings['verbosity_level']}\n";
}
- $conf .= "dev {$devname}\n";
$conf .= "dev-type {$settings['dev_mode']}\n";
switch($settings['dev_mode']) {
case "tun":
OpenPOWER on IntegriCloud