From 4744c6e44e971b2a0828f15c5991d82faf6bb0b3 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 3 Feb 2014 11:24:39 -0200 Subject: Add {} between variables inside quotes --- etc/inc/openvpn.attributes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') 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} "; -- cgit v1.1