diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-10-21 21:34:08 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-10-22 17:19:27 -0700 |
| commit | c0551cbbaf8984a55ee688416ec2801c9429bc2c (patch) | |
| tree | e0f125b28ce440fd7f3446d65f6b1a5c61b21b1c /lib/memtypes.c | |
| parent | ff40e335bbbed5e4fb36536d0c7cecf3edbb330e (diff) | |
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 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" }, |
