diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-11-15 00:14:56 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-11-15 00:14:56 -0600 |
commit | 8e81f6a88180c5c9a280d78fd77788f7160b0d1a (patch) | |
tree | ddf3380df85f1d84bf76e86e044019644e60388d /src | |
parent | 2217c57471d989677d050ac24272f1dfbafeafd3 (diff) | |
download | pfsense-8e81f6a88180c5c9a280d78fd77788f7160b0d1a.zip pfsense-8e81f6a88180c5c9a280d78fd77788f7160b0d1a.tar.gz |
Correct AVPair rules. Ticket #5451
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/openvpn.attributes.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/etc/inc/openvpn.attributes.php b/src/etc/inc/openvpn.attributes.php index 467d691..b966448 100644 --- a/src/etc/inc/openvpn.attributes.php +++ b/src/etc/inc/openvpn.attributes.php @@ -143,16 +143,16 @@ function parse_cisco_acl($attribs) { /* Destination */ if (trim($rule[$index]) == "host") { $index++; - $tmprule .= "to {$rule[$index]} "; + $tmprule .= " to {$rule[$index]} "; $index++; if ($isblock == true) { $isblock = false; } } else if (trim($rule[$index]) == "any") { $index++; - $tmprule .= "to any"; + $tmprule .= " to any"; } else { - $tmprule .= "to {$rule[$index]}"; + $tmprule .= " to {$rule[$index]}"; $index++; $netmask = cisco_to_cidr($rule[$index]); $tmprule .= "/{$netmask} "; |