mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
Process RARP packets with ethertype 0x8035 similar to ARP packets.
With this commit, OVS will match the data in the RARP packets having ethertype 0x8035, in the same way as the data in the ARP packets. Signed-off-by: Mehak Mahajan <mmahajan@nicira.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user