mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add {} between variables inside quotes
This commit is contained in:
parent
4c9bda43f5
commit
3f4bd83b5a
@ -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} ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user