Process RARP packets with ethertype 0x8035 similar to ARP packets.
[openvswitch] / lib / meta-flow.c
index 4fa05ae74452051530a4185c447063ce9d714550..0b97049a4bd23c5fb49a44b8c2e30321cc2b0af2 100644 (file)
@@ -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: