summaryrefslogtreecommitdiffstats
path: root/isisd/isis_routemap.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-21 21:27:49 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-21 21:27:49 +0200
commit39e92c066f210b0b550489e98d3b767ee1553e52 (patch)
tree70928b277635d25cb717b8ceb103dd1d5e26f732 /isisd/isis_routemap.c
parentlib: Clean up some bgp show functions (diff)
parentvtysh: handle case if there is no match in "write terminal $daemon" (diff)
downloadfrr-39e92c066f210b0b550489e98d3b767ee1553e52.tar.xz
frr-39e92c066f210b0b550489e98d3b767ee1553e52.zip
Merge branch 'cmaster-next' into vtysh-grammar
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com> Conflicts: bgpd/bgp_encap.c bgpd/bgp_route.c lib/command.c lib/command.h ospf6d/ospf6d.c vtysh/vtysh.c
Diffstat (limited to 'isisd/isis_routemap.c')
-rw-r--r--isisd/isis_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_routemap.c b/isisd/isis_routemap.c
index 1d734fbc2..61f3315f0 100644
--- a/isisd/isis_routemap.c
+++ b/isisd/isis_routemap.c
@@ -230,7 +230,7 @@ route_set_metric_compile(const char *arg)
if (arg[0] == '\0' || *endp != '\0' || metric > MAX_WIDE_PATH_METRIC)
return NULL;
- ret = XCALLOC(MTYPE_ROUTE_MAP_COMPILED, sizeof(ret));
+ ret = XCALLOC(MTYPE_ROUTE_MAP_COMPILED, sizeof(*ret));
*ret = metric;
return ret;