Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pavel Tvrdik
BIRD Internet Routing Daemon
Commits
8ce9a877
Commit
8ce9a877
authored
Feb 21, 2015
by
Ondřej Zajíček
Browse files
Fixes minor bug in BFD.
Thanks to Pavel Tvrdik for noticing it.
parent
51762a45
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/bfd/packets.c
View file @
8ce9a877
...
...
@@ -33,7 +33,7 @@ static inline u8 bfd_pkt_get_version(struct bfd_ctl_packet *pkt)
{
return
pkt
->
vdiag
>>
5
;
}
static
inline
u8
bfd_pkt_get_diag
(
struct
bfd_ctl_packet
*
pkt
)
{
return
pkt
->
vdiag
&
&
0x1f
;
}
{
return
pkt
->
vdiag
&
0x1f
;
}
static
inline
u8
bfd_pkt_get_state
(
struct
bfd_ctl_packet
*
pkt
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment