]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Shrink rmap_change_flags to 2-bytes 16548/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 9 Aug 2024 13:33:52 +0000 (16:33 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 9 Aug 2024 18:33:50 +0000 (21:33 +0300)
4 bytes is not needed for this thing clearly.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_attr.h

index 34393a0f1b76eaa40d61b987855f8d41700e6181..561024e7c85c189ba13022bec8ae2065b8cea3c7 100644 (file)
@@ -209,7 +209,7 @@ struct attr {
 
        /* has the route-map changed any attribute?
           Used on the peer outbound side. */
-       uint32_t rmap_change_flags;
+       uint16_t rmap_change_flags;
 
        /* Multi-Protocol Nexthop, AFI IPv6 */
        struct in6_addr mp_nexthop_global;