diff options
author | jim-p <jimp@pfsense.org> | 2013-10-22 11:45:02 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-10-22 11:45:36 -0400 |
commit | 9f293b1c04f9ab4eec03312364692f38690737c2 (patch) | |
tree | 185ed2c2d6bb71c47238c4b1b42b41e422cb78ab /etc/inc/openvpn.attributes.php | |
parent | afdf29d3a407d4d35bc16a32c01370bcf3197574 (diff) | |
download | pfsense-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.php | 2 |
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]); |