summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-xlate.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2016-02-17 00:31:11 -0800
committerBen Pfaff <blp@ovn.org>2016-02-19 16:15:44 -0800
commit4adaf1828a88e0859f1eab1074216da9ba82a71a (patch)
tree931f0f3f3e11383845692d7deeb369584eb45ab6 /ofproto/ofproto-dpif-xlate.c
parent6409e0083debb6cd1ad71e7d6bdd7fc1d7b83dd1 (diff)
downloadopenvswitch-4adaf1828a88e0859f1eab1074216da9ba82a71a.tar.gz
ofp-util: Rename struct ofputil_packet_in member 'len' to 'packet_len'.
An upcoming commit will introduce another member that has a length, and it seems weird that bare 'len' would be one or the other. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Jarno Rajahalme <jarno@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.c')
-rw-r--r--ofproto/ofproto-dpif-xlate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c
index e7b37a987..64c45de72 100644
--- a/ofproto/ofproto-dpif-xlate.c
+++ b/ofproto/ofproto-dpif-xlate.c
@@ -3634,7 +3634,7 @@ execute_controller_action(struct xlate_ctx *ctx, int len,
.pin = {
.up = {
.packet = dp_packet_steal_data(packet),
- .len = packet_len,
+ .packet_len = packet_len,
.reason = reason,
.table_id = ctx->table_id,
.cookie = ctx->rule_cookie,