Message ID | 20170809203807.16943-2-joe@ovn.org |
---|---|
State | Accepted |
Headers | show |
diff --git a/ofproto/ofproto-dpif-ipfix.c b/ofproto/ofproto-dpif-ipfix.c index fcba02e45b75..472c27281d5f 100644 --- a/ofproto/ofproto-dpif-ipfix.c +++ b/ofproto/ofproto-dpif-ipfix.c @@ -1294,7 +1294,7 @@ ipfix_def_exporter_options_template_fields(size_t opt_tmpl_hdr_offset, DEF(NOT_SENT_PACKET_TOTAL_COUNT); /* Update 'field_count' in options template header. */ - opt_tmpl_hdr= (struct ipfix_options_template_record_header *) + opt_tmpl_hdr = (struct ipfix_options_template_record_header *) ((uint8_t *)dp_packet_data(msg) + opt_tmpl_hdr_offset); opt_tmpl_hdr->field_count = htons(count);
Signed-off-by: Joe Stringer <joe@ovn.org> --- ofproto/ofproto-dpif-ipfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)