mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
This patch changes the variable type of "ofport" in "struct if_cfg" and "struct iface" from int64_t to uint16_t. This is more consistent with the OpenFlow-1.0 port definition. Also, before this patch, -1 is used to indicate an unknown port. This patch uses OFPP_NONE, since "ofport" becomes uint16_t. Signed-off-by: Alex Wang <alexw@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>