summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.attributes.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-01-31 12:13:36 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-02-04 12:34:41 -0200
commit3f4bd83b5aa2f830f247f51cdc8fc45adc5a99f1 (patch)
treeba86260769a2313ceb145a88e7c28dca0a9b4cd7 /etc/inc/ipsec.attributes.php
parent4c9bda43f5bcfd5ba9812c84199bbe4f1f158960 (diff)
downloadpfsense-3f4bd83b5aa2f830f247f51cdc8fc45adc5a99f1.zip
pfsense-3f4bd83b5aa2f830f247f51cdc8fc45adc5a99f1.tar.gz
Add {} between variables inside quotes
Diffstat (limited to 'etc/inc/ipsec.attributes.php')
-rw-r--r--etc/inc/ipsec.attributes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/ipsec.attributes.php b/etc/inc/ipsec.attributes.php
index 2fee525..7e7ce2e 100644
--- a/etc/inc/ipsec.attributes.php
+++ b/etc/inc/ipsec.attributes.php
@@ -120,7 +120,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} ";
@@ -139,7 +139,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