From 45758be466500461e35fb4a6308c3d35126470b4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 22 Oct 2013 18:44:41 +0000 Subject: Correct even here the routes from cisco-avpair processing --- etc/inc/ipsec.attributes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc/ipsec.attributes.php') diff --git a/etc/inc/ipsec.attributes.php b/etc/inc/ipsec.attributes.php index fd248d4..e8507d7 100644 --- a/etc/inc/ipsec.attributes.php +++ b/etc/inc/ipsec.attributes.php @@ -76,7 +76,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]); -- cgit v1.1