From eda4179204d21204be067fc4024330ad63cb8c3d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Fri, 31 Jan 2014 12:13:36 -0200 Subject: Add {} between variables inside quotes --- etc/inc/ipsec.attributes.php | 4 ++-- 1 file 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} "; -- cgit v1.1