diff --git a/ZodiacFX/src/openflow/of_helper.c b/ZodiacFX/src/openflow/of_helper.c index b24aa09..d3e71eb 100644 --- a/ZodiacFX/src/openflow/of_helper.c +++ b/ZodiacFX/src/openflow/of_helper.c @@ -587,7 +587,7 @@ int flowmatch13(uint8_t *pBuffer, int port, uint8_t table_id, struct packet_fiel break; case OXM_OF_MPLS_LABEL: - if (fields->isMPLSTag && fields->mpls_label != *(uint32_t*)oxm_value) + if (!(fields->isMPLSTag && ntohl(fields->mpls_label) == *(uint32_t*)oxm_value)) { priority_match = -1; }