[ovs-dev] [PATCH] flow_format: Do not format "in_port=0".

Jarno Rajahalme jrajahalme at nicira.com
Fri Mar 27 01:25:11 UTC 2015


> On Mar 26, 2015, at 2:07 PM, Ben Pfaff <blp at nicira.com> wrote:
> 
> On Thu, Mar 26, 2015 at 11:39:17AM -0700, Jarno Rajahalme wrote:
>> flow_format() is used mainly for formating the headers of packets
>> embedded in OpenFlow PACKET_IN messages.  In this case the flow does
>> not have a valid port number, and printing out "in_port=0" only
>> confuses the resulting output.  Besides, 0 is not a valid OpenFlow
>> port number.
>> 
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> 
> Acked-by: Ben Pfaff <blp at nicira.com>

Thanks for the review, pushed to master,

  Jarno




More information about the dev mailing list