]> git.puffer.fish Git - mirror/frr.git/commitdiff
zebra: Use uint16_t for DF preference 15314/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 6 Feb 2024 12:03:36 +0000 (14:03 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 6 Feb 2024 12:03:36 +0000 (14:03 +0200)
It's 16-bits everywhere, not sure why it was here as 32.

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

index 60800489767cffa9b5d4f7113e0a71a23b870adc..34ef79f1558e95b083f317ded0317eaffe4fa826 100644 (file)
@@ -154,7 +154,7 @@ struct zebra_evpn_es_vtep {
 
        /* Parameters for DF election */
        uint8_t df_alg;
-       uint32_t df_pref;
+       uint16_t df_pref;
 
        /* XXX - maintain a backpointer to struct zebra_vtep */
 };