diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-04 13:26:35 -0500 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-12-08 14:12:10 -0500 |
commit | d4c27d656d072fbd81003a71c4f3391c96852c60 (patch) | |
tree | 27f40829775ca271f6a7d7b5031284b264c0f479 /lib/memtypes.c | |
parent | b11f3b54c842117e22e2f5cf1561ea34eee8dfcc (diff) | |
download | quagga-d4c27d656d072fbd81003a71c4f3391c96852c60.tar.bz2 quagga-d4c27d656d072fbd81003a71c4f3391c96852c60.tar.xz |
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r-- | lib/memtypes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c index 57de5c4f..5f78493a 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -82,8 +82,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_NETLINK_NAME, "Netlink name" }, |