From c0551cbbaf8984a55ee688416ec2801c9429bc2c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 21 Oct 2015 21:34:08 -0400 Subject: zebra: Collapse struct static_ipv[4|6] into struct static_route The 'struct static_ipv4' and 'struct static_ipv6' structures are essentially the same. Collapse them into one data structure 'struct static_route'. Signed-off-by: Donald Sharp --- lib/memtypes.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/memtypes.c') diff --git a/lib/memtypes.c b/lib/memtypes.c index 5b0c12040a..03a5c3dcfd 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -84,8 +84,7 @@ struct memory_list memory_list_zebra[] = { MTYPE_NEXTHOP, "Nexthop" }, { MTYPE_RIB, "RIB" }, { MTYPE_RIB_QUEUE, "RIB process work queue" }, - { MTYPE_STATIC_IPV4, "Static IPv4 route" }, - { MTYPE_STATIC_IPV6, "Static IPv6 route" }, + { MTYPE_STATIC_ROUTE, "Static route" }, { MTYPE_RIB_DEST, "RIB destination" }, { MTYPE_RIB_TABLE_INFO, "RIB table info" }, { MTYPE_RNH, "Nexthop tracking object" }, -- cgit v1.2.3