summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2021-05-09 19:37:12 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2021-05-09 19:37:12 +0200
commite20713259443fdc7134bb5e10c04496beb006321 (patch)
tree7fefc172499e3d6136ae7c05782ca945fd207fa0
parent4a73887e0f6d5ab5ebb2018ed6f8a3cc49c0ee51 (diff)
zebra: fix style warnings in previous commits
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
-rw-r--r--zebra/zebra_evpn.c3
-rw-r--r--zebra/zebra_mpls.c3
-rw-r--r--zebra/zebra_vxlan.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_evpn.c b/zebra/zebra_evpn.c
index f5350c79a1..30f4a44769 100644
--- a/zebra/zebra_evpn.c
+++ b/zebra/zebra_evpn.c
@@ -1029,7 +1029,8 @@ zebra_evpn_t *zebra_evpn_add(vni_t vni)
/* Create hash table for MAC */
zevpn->mac_table = zebra_mac_db_create(buffer);
- snprintf(buffer, sizeof(buffer), "Zebra EVPN Neighbor Table vni: %u", vni);
+ snprintf(buffer, sizeof(buffer), "Zebra EVPN Neighbor Table vni: %u",
+ vni);
/* Create hash table for neighbors */
zevpn->neigh_table = zebra_neigh_db_create(buffer);
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index 5dcfe85f3d..850ca17636 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -3959,8 +3959,7 @@ void zebra_mpls_init_tables(struct zebra_vrf *zvrf)
snprintf(buffer, sizeof(buffer), "ZEBRA SLSP table: %s",
zvrf->vrf->name);
- zvrf->slsp_table =
- hash_create_size(8, label_hash, label_cmp, buffer);
+ zvrf->slsp_table = hash_create_size(8, label_hash, label_cmp, buffer);
snprintf(buffer, sizeof(buffer), "ZEBRA LSP table: %s",
zvrf->vrf->name);
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index c816ba5a25..4e86ab3b4f 100644
--- a/zebra/zebra_vxlan.c
+++ b/zebra/zebra_vxlan.c
@@ -5765,7 +5765,7 @@ void zebra_vxlan_init_tables(struct zebra_vrf *zvrf)
snprintf(buffer, sizeof(buffer), "Zebra VxLAN SG Table: %s",
zvrf->vrf->name);
zvrf->vxlan_sg_table = hash_create_size(8, zebra_vxlan_sg_hash_key_make,
- zebra_vxlan_sg_hash_eq, buffer);
+ zebra_vxlan_sg_hash_eq, buffer);
}
/* Cleanup EVPN info, but don't free the table. */