summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/openvpn.attributes.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/openvpn.attributes.php b/src/etc/inc/openvpn.attributes.php
index 467d691..b966448 100644
--- a/src/etc/inc/openvpn.attributes.php
+++ b/src/etc/inc/openvpn.attributes.php
@@ -143,16 +143,16 @@ function parse_cisco_acl($attribs) {
/* Destination */
if (trim($rule[$index]) == "host") {
$index++;
- $tmprule .= "to {$rule[$index]} ";
+ $tmprule .= " to {$rule[$index]} ";
$index++;
if ($isblock == true) {
$isblock = false;
}
} else if (trim($rule[$index]) == "any") {
$index++;
- $tmprule .= "to any";
+ $tmprule .= " to any";
} else {
- $tmprule .= "to {$rule[$index]}";
+ $tmprule .= " to {$rule[$index]}";
$index++;
$netmask = cisco_to_cidr($rule[$index]);
$tmprule .= "/{$netmask} ";
OpenPOWER on IntegriCloud