X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fmap%2Fmap.c;h=92d2337d0baabeaf27bc282c3fae0eded89a95d8;hb=3b37125bdb0251181f90a429a4532b339711cf89;hp=bc9b3df50ba564c8f969fd18bac7b51c947d669a;hpb=4d39f9c61c48d033ed5c9f729bdc975b58da29e8;p=vpp.git diff --git a/src/plugins/map/map.c b/src/plugins/map/map.c index bc9b3df50ba..92d2337d0ba 100644 --- a/src/plugins/map/map.c +++ b/src/plugins/map/map.c @@ -551,7 +551,7 @@ map_add_domain_command_fn (vlib_main_t * vm, num_m_args++; else if (unformat (line_input, "mtu %d", &mtu)) num_m_args++; - else if (unformat (line_input, "tag %v", &tag)) + else if (unformat (line_input, "tag %s", &tag)) ; else { @@ -573,6 +573,7 @@ map_add_domain_command_fn (vlib_main_t * vm, mtu, flags, tag); done: + vec_free (tag); unformat_free (line_input); return error;