diff options
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r-- | lib/odp-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c index 7f5158fe..c67e14a9 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -1087,8 +1087,8 @@ odp_flow_key_to_flow(const struct nlattr *key, size_t key_len, return 0; case OVS_KEY_ATTR_ICMPV6: - if (flow->icmp_type == htons(ND_NEIGHBOR_SOLICIT) - || flow->icmp_type == htons(ND_NEIGHBOR_ADVERT)) { + if (flow->tp_src == htons(ND_NEIGHBOR_SOLICIT) + || flow->tp_src == htons(ND_NEIGHBOR_ADVERT)) { return EINVAL; } return 0; |