mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 09:20:25 +00:00
zebra: Fix up some code formatting issues.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
783fc3cd45
commit
27b136bd58
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
DEFINE_MTYPE(ZEBRA, ZEBRA_NS, "Zebra Name Space")
|
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,
|
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
|
||||||
const struct zebra_ns_table *e2);
|
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 struct zebra_ns *dzns;
|
||||||
|
|
||||||
static __inline int
|
static inline int
|
||||||
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
|
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
|
||||||
const struct zebra_ns_table *e2)
|
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)
|
static void zebra_ns_free_table(struct zebra_ns_table *znst)
|
||||||
{
|
{
|
||||||
void *table_info;
|
void *table_info;
|
||||||
|
|
||||||
rib_close_table(znst->table);
|
rib_close_table(znst->table);
|
||||||
|
|
||||||
table_info = znst->table->info;
|
table_info = znst->table->info;
|
||||||
|
@ -229,7 +229,8 @@ static int zebra_vrf_disable(struct vrf *vrf)
|
|||||||
struct route_node *rnode;
|
struct route_node *rnode;
|
||||||
rib_dest_t *dest;
|
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);
|
dest = rib_dest_from_rnode(rnode);
|
||||||
if (dest && rib_dest_vrf(dest) == zvrf) {
|
if (dest && rib_dest_vrf(dest) == zvrf) {
|
||||||
route_unlock_node(rnode);
|
route_unlock_node(rnode);
|
||||||
|
Loading…
Reference in New Issue
Block a user