summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-02-28 21:16:16 +0100
committerGitHub <noreply@github.com>2019-02-28 21:16:16 +0100
commitfd2d11fb2732fee90c97ef923cf2014d2b0ef6a7 (patch)
tree8edf19385b9864e9c23038637be5abc193a28ae1 /zebra
parentMerge pull request #3878 from opensourcerouting/fix-6vpe (diff)
parentzebra: fix style for 7d9ee1 (diff)
downloadfrr-fd2d11fb2732fee90c97ef923cf2014d2b0ef6a7.tar.xz
frr-fd2d11fb2732fee90c97ef923cf2014d2b0ef6a7.zip
Merge pull request #3876 from qlyoung/fmt-fixes
style fixes...
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_vxlan.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index 7d4d5db6b..6d2444637 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -7090,9 +7090,10 @@ void zebra_vxlan_print_vnis_detail(struct vty *vty, struct zebra_vrf *zvrf,
zes.zvrf = zvrf;
/* Display all L2-VNIs */
- hash_iterate(zvrf->vni_table, (void (*)(struct hash_bucket *,
- void *))zvni_print_hash_detail,
- &zes);
+ hash_iterate(
+ zvrf->vni_table,
+ (void (*)(struct hash_bucket *, void *))zvni_print_hash_detail,
+ &zes);
/* Display all L3-VNIs */
hash_iterate(zrouter.l3vni_table,
@@ -7101,8 +7102,9 @@ void zebra_vxlan_print_vnis_detail(struct vty *vty, struct zebra_vrf *zvrf,
&zes);
if (use_json) {
- vty_out(vty, "%s\n", json_object_to_json_string_ext(
- json, JSON_C_TO_STRING_PRETTY));
+ vty_out(vty, "%s\n",
+ json_object_to_json_string_ext(
+ json, JSON_C_TO_STRING_PRETTY));
json_object_free(json);
}
}