From 82d43634a424cf63d72ea336dd2a5e70b6e40fe3 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 6 Feb 2024 14:03:36 +0200 Subject: [PATCH] zebra: Use uint16_t for DF preference It's 16-bits everywhere, not sure why it was here as 32. Signed-off-by: Donatas Abraitis --- zebra/zebra_evpn_mh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_evpn_mh.h b/zebra/zebra_evpn_mh.h index 60800489767c..34ef79f1558e 100644 --- a/zebra/zebra_evpn_mh.h +++ b/zebra/zebra_evpn_mh.h @@ -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 */ };