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:36 -0400
commit9f293b1c04f9ab4eec03312364692f38690737c2 (patch)
tree185ed2c2d6bb71c47238c4b1b42b41e422cb78ab /etc/inc/openvpn.attributes.php
parentafdf29d3a407d4d35bc16a32c01370bcf3197574 (diff)
downloadpfsense-9f293b1c04f9ab4eec03312364692f38690737c2.zip
pfsense-9f293b1c04f9ab4eec03312364692f38690737c2.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