Use Node Information flag names instead of hard-coding their values.
MFC after: 1 week
This commit is contained in:
parent
e8800f3c2f
commit
c81c183dae
@ -667,7 +667,9 @@ icmp6_input(struct mbuf **mp, int *offp, int proto)
|
||||
* XXX: this combination of flags is pointless,
|
||||
* but should we keep this for compatibility?
|
||||
*/
|
||||
if ((V_icmp6_nodeinfo & 5) != 5)
|
||||
if ((V_icmp6_nodeinfo & (ICMP6_NODEINFO_FQDNOK |
|
||||
ICMP6_NODEINFO_TMPADDROK)) !=
|
||||
(ICMP6_NODEINFO_FQDNOK | ICMP6_NODEINFO_TMPADDROK))
|
||||
break;
|
||||
|
||||
if (code != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user