From patchwork Wed Aug 9 20:38:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Stringer X-Patchwork-Id: 799948 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xSNSj54hvz9s81 for ; Thu, 10 Aug 2017 06:40:37 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 4559ACAC; Wed, 9 Aug 2017 20:38:19 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 8FF51CAD for ; Wed, 9 Aug 2017 20:38:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 672C6460 for ; Wed, 9 Aug 2017 20:38:16 +0000 (UTC) X-Originating-IP: 208.91.1.34 Received: from carno.eng.vmware.com (unknown [208.91.1.34]) (Authenticated sender: joe@ovn.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id AEBBC172095 for ; Wed, 9 Aug 2017 22:38:14 +0200 (CEST) From: Joe Stringer To: dev@openvswitch.org Date: Wed, 9 Aug 2017 13:38:06 -0700 Message-Id: <20170809203807.16943-2-joe@ovn.org> X-Mailer: git-send-email 2.13.3 In-Reply-To: <20170809203807.16943-1-joe@ovn.org> References: <20170809203807.16943-1-joe@ovn.org> Subject: [ovs-dev] [PATCH trivial 2/3] ofproto-dpif-ipfix: Fix minor style variation. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-ipfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);