summaryrefslogtreecommitdiffstats
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:35:25 -0200
commiteda4179204d21204be067fc4024330ad63cb8c3d (patch)
treec03ae171b93db6b564e82c21589c10413fa0af8c
parent2b8dfa4e57fd759cdca1b72ec78d87005d7a605e (diff)
downloadpfsense-eda4179204d21204be067fc4024330ad63cb8c3d.zip
pfsense-eda4179204d21204be067fc4024330ad63cb8c3d.tar.gz
Add {} between variables inside quotes
-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