mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 17:10:55 +00:00
Merge pull request #1868 from teg/ndisc-fix
sd-ndisc: add missing parens
This commit is contained in:
@@ -519,7 +519,7 @@ static int ndisc_router_advertisment_recv(sd_event_source *s, int fd, uint32_t r
|
||||
nd->state = NDISC_STATE_ADVERTISMENT_LISTEN;
|
||||
|
||||
stateful = ra->nd_ra_flags_reserved & (ND_RA_FLAG_MANAGED | ND_RA_FLAG_OTHER);
|
||||
pref = ra->nd_ra_flags_reserved & ND_RA_FLAG_PREF >> 3;
|
||||
pref = (ra->nd_ra_flags_reserved & ND_RA_FLAG_PREF) >> 3;
|
||||
|
||||
switch (pref) {
|
||||
case ND_RA_FLAG_PREF_LOW:
|
||||
|
||||
Reference in New Issue
Block a user