[ovs-git] [openvswitch/ovs] e6d9ab: flow_format: Do not format "in_port=0".

GitHub noreply at github.com
Thu Mar 26 22:35:08 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: e6d9ab56ee1f417e8823a6405d5a085c70fe8982
      https://github.com/openvswitch/ovs/commit/e6d9ab56ee1f417e8823a6405d5a085c70fe8982
  Author: Jarno Rajahalme <jrajahalme at nicira.com>
  Date:   2015-03-26 (Thu, 26 Mar 2015)

  Changed paths:
    M lib/flow.c
    M tests/ofp-print.at
    M tests/ofproto-dpif.at
    M tests/ofproto.at

  Log Message:
  -----------
  flow_format: Do not format "in_port=0".

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>




More information about the git mailing list