projects
/
cascardo
/
ovs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement new packet-in format NXT_PACKET_IN2.
[cascardo/ovs.git]
/
ofproto
/
ofproto.c
diff --git
a/ofproto/ofproto.c
b/ofproto/ofproto.c
index
c0647b0
..
0135355
100644
(file)
--- a/
ofproto/ofproto.c
+++ b/
ofproto/ofproto.c
@@
-5387,7
+5387,7
@@
handle_nxt_set_packet_in_format(struct ofconn *ofconn,
uint32_t format;
format = ntohl(msg->format);
- if (
format != NXPIF_OPENFLOW10 && format != NXPIF_NXM
) {
+ if (
!ofputil_packet_in_format_is_valid(format)
) {
return OFPERR_OFPBRC_EPERM;
}