summaryrefslogtreecommitdiffstats
path: root/etc/inc/openvpn.attributes.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-10-22 11:45:02 -0400
committerjim-p <jimp@pfsense.org>2013-10-22 11:45:02 -0400
commita35bae66910c9eb1962574707e742162f7cffcc4 (patch)
treef5b80aeea772bbf872f6bc2f3c0e1014f4602339 /etc/inc/openvpn.attributes.php
parentaad5eef2ab645d5da68d17b39daf7a33783eb8a7 (diff)
downloadpfsense-a35bae66910c9eb1962574707e742162f7cffcc4.zip
pfsense-a35bae66910c9eb1962574707e742162f7cffcc4.tar.gz
Fix cisco-avpair processing, and route processing from avpair replies.
Diffstat (limited to 'etc/inc/openvpn.attributes.php')
-rw-r--r--etc/inc/openvpn.attributes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/openvpn.attributes.php b/etc/inc/openvpn.attributes.php
index b8b0477..0c8a96f 100644
--- a/etc/inc/openvpn.attributes.php
+++ b/etc/inc/openvpn.attributes.php
@@ -78,7 +78,7 @@ function parse_cisco_acl($attribs) {
} else if (strstr($rule[0], "route")) {
if (!is_array($attributes['routes']))
$attributes['routes'] = array();
- $attributes['routes'][] = $route[1];
+ $attributes['routes'][] = $rule[1];
continue;
}
$rindex = cisco_extract_index($rule[0]);
OpenPOWER on IntegriCloud