]> git.proxmox.com Git - mirror_frr.git/blobdiff - pbrd/pbr_nht.c
Merge pull request #3502 from donaldsharp/socket_to_me_baby
[mirror_frr.git] / pbrd / pbr_nht.c
index db958e833f68cf4bcd5c14ebbf73d9f5edfc6631..6103bd7db5e2cf71a6e85f90cc018c480b040aac 100644 (file)
@@ -232,9 +232,9 @@ void pbr_nhgroup_add_nexthop_cb(const struct nexthop_group_cmd *nhgc,
                                const struct nexthop *nhop)
 {
        char debugstr[256];
-       struct pbr_nexthop_group_cache pnhgc_find = {0};
+       struct pbr_nexthop_group_cache pnhgc_find = {};
        struct pbr_nexthop_group_cache *pnhgc;
-       struct pbr_nexthop_cache pnhc_find = {0};
+       struct pbr_nexthop_cache pnhc_find = {};
        struct pbr_nexthop_cache *pnhc;
 
        if (!pbr_nht_get_next_tableid(true)) {
@@ -270,9 +270,9 @@ void pbr_nhgroup_del_nexthop_cb(const struct nexthop_group_cmd *nhgc,
                                const struct nexthop *nhop)
 {
        char debugstr[256];
-       struct pbr_nexthop_group_cache pnhgc_find = {0};
+       struct pbr_nexthop_group_cache pnhgc_find = {};
        struct pbr_nexthop_group_cache *pnhgc;
-       struct pbr_nexthop_cache pnhc_find = {0};
+       struct pbr_nexthop_cache pnhc_find = {};
        struct pbr_nexthop_cache *pnhc;
        enum nexthop_types_t nh_afi = nhop->type;