summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.attributes.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-02-03 11:24:39 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-02-04 12:34:41 -0200
commit8340d95653a6bb8602a3fb60fbed0173b73e06f9 (patch)
tree4ed26ee0b4888b2b1b9cc77daedd894431830b3c /etc/inc/openvpn.attributes.php
parente6867c81d14a682eea0a1ff19580f94b678b7fe2 (diff)
downloadpfsense-8340d95653a6bb8602a3fb60fbed0173b73e06f9.zip
pfsense-8340d95653a6bb8602a3fb60fbed0173b73e06f9.tar.gz
Add {} between variables inside quotes
Diffstat (limited to 'etc/inc/openvpn.attributes.php')
-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