Skip to content

Commit

Permalink
zebra: Use uint16_t for DF preference
Browse files Browse the repository at this point in the history
It's 16-bits everywhere, not sure why it was here as 32.

Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Feb 6, 2024
1 parent bd7bad9 commit 82d4363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zebra/zebra_evpn_mh.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};
Expand Down

0 comments on commit 82d4363

Please sign in to comment.