X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fmeta-flow.c;h=0b97049a4bd23c5fb49a44b8c2e30321cc2b0af2;hb=8087f5ff;hp=4fa05ae74452051530a4185c447063ce9d714550;hpb=c2f0373a8248d0c20d2f876d7f3bc61a400d9924;p=openvswitch diff --git a/lib/meta-flow.c b/lib/meta-flow.c index 4fa05ae7..0b97049a 100644 --- a/lib/meta-flow.c +++ b/lib/meta-flow.c @@ -834,7 +834,8 @@ mf_are_prereqs_ok(const struct mf_field *mf, const struct flow *flow) return true; case MFP_ARP: - return flow->dl_type == htons(ETH_TYPE_ARP); + return (flow->dl_type == htons(ETH_TYPE_ARP) || + flow->dl_type == htons(ETH_TYPE_RARP)); case MFP_IPV4: return flow->dl_type == htons(ETH_TYPE_IP); case MFP_IPV6: