projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
meta-flow: Fix "sparse" warning in mf_are_prereqs_ok().
[openvswitch]
/
lib
/
meta-flow.c
diff --git
a/lib/meta-flow.c
b/lib/meta-flow.c
index c50cfc5359215119ae0210481cf232c4a9b1afd5..3713ca4e845f9146c3293d65c526312a64c407bc 100644
(file)
--- a/
lib/meta-flow.c
+++ b/
lib/meta-flow.c
@@
-827,7
+827,7
@@
mf_are_prereqs_ok(const struct mf_field *mf, const struct flow *flow)
case MFP_IPV6:
return flow->dl_type == htons(ETH_TYPE_IPV6);
case MFP_VLAN_VID:
- return
flow->vlan_tci & htons(VLAN_CFI)
;
+ return
(flow->vlan_tci & htons(VLAN_CFI)) != 0
;
case MFP_IP_ANY:
return is_ip_any(flow);