aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/abf/abf_policy.c6
-rw-r--r--src/plugins/l3xc/l3xc.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/abf/abf_policy.c b/src/plugins/abf/abf_policy.c
index 458bf1b215d..8defa752ec8 100644
--- a/src/plugins/abf/abf_policy.c
+++ b/src/plugins/abf/abf_policy.c
@@ -245,9 +245,9 @@ abf_policy_cmd (vlib_main_t * vm,
unformat_input_t * main_input, vlib_cli_command_t * cmd)
{
unformat_input_t _line_input, *line_input = &_line_input;
- u32 acl_index, policy_id;
fib_route_path_t *rpaths = NULL, rpath;
- u32 is_del;
+ u32 acl_index, policy_id, is_del;
+ dpo_proto_t payload_proto;
int rv = 0;
is_del = 0;
@@ -269,7 +269,7 @@ abf_policy_cmd (vlib_main_t * vm,
else if (unformat (line_input, "add"))
is_del = 0;
else if (unformat (line_input, "via %U",
- unformat_fib_route_path, &rpath))
+ unformat_fib_route_path, &rpath, &payload_proto))
vec_add1 (rpaths, rpath);
else
return (clib_error_return (0, "unknown input '%U'",
diff --git a/src/plugins/l3xc/l3xc.c b/src/plugins/l3xc/l3xc.c
index 77c062f39d6..9839278dfb2 100644
--- a/src/plugins/l3xc/l3xc.c
+++ b/src/plugins/l3xc/l3xc.c
@@ -199,6 +199,7 @@ l3xc_cmd (vlib_main_t * vm,
unformat_input_t _line_input, *line_input = &_line_input;
fib_route_path_t *rpaths = NULL, rpath;
u32 sw_if_index, is_del, is_ip6;
+ dpo_proto_t payload_proto;
vnet_main_t *vnm;
int rv = 0;
@@ -224,7 +225,7 @@ l3xc_cmd (vlib_main_t * vm,
else if (unformat (line_input, "add"))
is_del = 0;
else if (unformat (line_input, "via %U",
- unformat_fib_route_path, &rpath))
+ unformat_fib_route_path, &rpath, &payload_proto))
vec_add1 (rpaths, rpath);
else
return (clib_error_return (0, "unknown input '%U'",