0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-03-12 17:37:04 +00:00

Revert "Remove unused function"

This reverts commit 91e02f1fd14a5f4cdb966bbe091b585622c08f7b.
This commit is contained in:
Pavel Tvrdík 2015-11-02 12:28:27 +01:00
parent 91e02f1fd1
commit 4059d84bd4

@ -39,6 +39,9 @@ static inline u8 bfd_pkt_get_diag(struct bfd_ctl_packet *pkt)
static inline u8 bfd_pkt_get_state(struct bfd_ctl_packet *pkt)
{ return pkt->flags >> 6; }
static inline void bfd_pkt_set_state(struct bfd_ctl_packet *pkt, u8 val)
{ pkt->flags = val << 6; }
char *
bfd_format_flags(u8 flags, char *buf)