diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-02-03 11:24:39 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-02-04 12:34:41 -0200 |
commit | 8340d95653a6bb8602a3fb60fbed0173b73e06f9 (patch) | |
tree | 4ed26ee0b4888b2b1b9cc77daedd894431830b3c | |
parent | e6867c81d14a682eea0a1ff19580f94b678b7fe2 (diff) | |
download | pfsense-8340d95653a6bb8602a3fb60fbed0173b73e06f9.zip pfsense-8340d95653a6bb8602a3fb60fbed0173b73e06f9.tar.gz |
Add {} between variables inside quotes
-rw-r--r-- | etc/inc/openvpn.attributes.php | 4 |
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} "; |