summaryrefslogtreecommitdiff
path: root/zebra/zebra_evpn_mh.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-02-06 14:03:36 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-02-06 14:03:36 +0200
commit82d43634a424cf63d72ea336dd2a5e70b6e40fe3 (patch)
tree2b0c035112dc0ca54d4f7422dd7c41b2bf5b6035 /zebra/zebra_evpn_mh.h
parentbd7bad9121be93045c69cda24b2d80e008586f59 (diff)
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 <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_evpn_mh.h')
-rw-r--r--zebra/zebra_evpn_mh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_evpn_mh.h b/zebra/zebra_evpn_mh.h
index 6080048976..34ef79f155 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 */
};