summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/openvpn.attributes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/openvpn.attributes.php b/etc/inc/openvpn.attributes.php
index 209af70..2f7e121 100644
--- a/etc/inc/openvpn.attributes.php
+++ b/etc/inc/openvpn.attributes.php
@@ -122,7 +122,7 @@ function parse_cisco_acl($attribs) {
$tmprule .= "from any";
$index++;
} else {
- $tmprule .= "from $rule[$index]";
+ $tmprule .= "from {$rule[$index]}";
$index++;
$netmask = cisco_to_cidr($rule[$index]);
$tmprule .= "/{$netmask} ";
@@ -141,7 +141,7 @@ function parse_cisco_acl($attribs) {
$index++;
$tmprule .= "to any";
} else {
- $tmprule .= "to $rule[$index]";
+ $tmprule .= "to {$rule[$index]}";
$index++;
$netmask = cisco_to_cidr($rule[$index]);
$tmprule .= "/{$netmask} ";
OpenPOWER on IntegriCloud