From 27b136bd589ca2e6713ccaa6e0d8ea852c5f25a0 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 23 Feb 2018 07:50:23 -0500 Subject: [PATCH] zebra: Fix up some code formatting issues. Signed-off-by: Donald Sharp --- zebra/zebra_ns.c | 5 +++-- zebra/zebra_vrf.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/zebra/zebra_ns.c b/zebra/zebra_ns.c index c7561f4264..1715881f7e 100644 --- a/zebra/zebra_ns.c +++ b/zebra/zebra_ns.c @@ -34,7 +34,7 @@ DEFINE_MTYPE(ZEBRA, ZEBRA_NS, "Zebra Name Space") -static __inline int +static inline int zebra_ns_table_entry_compare(const struct zebra_ns_table *e1, const struct zebra_ns_table *e2); @@ -43,7 +43,7 @@ RB_GENERATE(zebra_ns_table_head, zebra_ns_table, zebra_ns_table_entry, static struct zebra_ns *dzns; -static __inline int +static inline int zebra_ns_table_entry_compare(const struct zebra_ns_table *e1, const struct zebra_ns_table *e2) { @@ -127,6 +127,7 @@ struct route_table *zebra_ns_get_table(struct zebra_ns *zns, static void zebra_ns_free_table(struct zebra_ns_table *znst) { void *table_info; + rib_close_table(znst->table); table_info = znst->table->info; diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index f0bd91bd4b..80553d5c5f 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -229,7 +229,8 @@ static int zebra_vrf_disable(struct vrf *vrf) struct route_node *rnode; rib_dest_t *dest; - for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i], lnode, nnode, rnode)) { + for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i], + lnode, nnode, rnode)) { dest = rib_dest_from_rnode(rnode); if (dest && rib_dest_vrf(dest) == zvrf) { route_unlock_node(rnode); -- 2.39.5