projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Process RARP packets with ethertype 0x8035 similar to ARP packets.
[openvswitch]
/
lib
/
nx-match.c
diff --git
a/lib/nx-match.c
b/lib/nx-match.c
index 991899403cc5a7a05333c524204e180a846577b5..9c4088f1a65e86e404594aa3b07621c62c9c8c4b 100644
(file)
--- a/
lib/nx-match.c
+++ b/
lib/nx-match.c
@@
-626,7
+626,8
@@
nx_put_raw(struct ofpbuf *b, bool oxm, const struct match *match,
flow->arp_tha, match->wc.masks.arp_tha);
}
}
flow->arp_tha, match->wc.masks.arp_tha);
}
}
- } else if (flow->dl_type == htons(ETH_TYPE_ARP)) {
+ } else if (flow->dl_type == htons(ETH_TYPE_ARP) ||
+ flow->dl_type == htons(ETH_TYPE_RARP)) {
/* ARP. */
if (match->wc.masks.nw_proto) {
nxm_put_16(b, oxm ? OXM_OF_ARP_OP : NXM_OF_ARP_OP,
/* ARP. */
if (match->wc.masks.nw_proto) {
nxm_put_16(b, oxm ? OXM_OF_ARP_OP : NXM_OF_ARP_OP,