diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-02-06 17:43:55 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-02-07 17:12:33 +0100 |
commit | a82f692e5844d5efdc091a796dc0e8ae8ab5a322 (patch) | |
tree | 149028be11635b0097f929d7ae922f3e1042f7b8 /nest/rt-show.c | |
parent | 28b3b551222ab58456a067a9be4790824cdbb60e (diff) |
Nest: Trivial whitespace cleanup
Diffstat (limited to 'nest/rt-show.c')
-rw-r--r-- | nest/rt-show.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nest/rt-show.c b/nest/rt-show.c index 70dabc1f..1f1b73d2 100644 --- a/nest/rt-show.c +++ b/nest/rt-show.c @@ -74,7 +74,7 @@ rt_show_rte(struct cli *c, byte *ia, rte *e, struct rt_show_data *d, ea_list *tm char weight[16] = ""; if (nh->labels) - { + { lsp += bsprintf(lsp, " mpls %d", nh->label[0]); for (int i=1;i<nh->labels; i++) lsp += bsprintf(lsp, "/%d", nh->label[i]); @@ -129,7 +129,7 @@ rt_show_net(struct cli *c, net *n, struct rt_show_data *d) /* Special case for merged export */ if ((d->export_mode == RSEM_EXPORT) && (ec->ra_mode == RA_MERGED)) - { + { rte *rt_free; e = rt_export_merged(ec, n, &rt_free, &tmpa, c->show_pool, 1); pass = 1; @@ -419,4 +419,3 @@ rt_show(struct rt_show_data *d) cli_msg(8001, "Network not found"); } } - |