openflow: Print in_port as string for reserved/special ports.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 28 Dec 2012 19:02:40 +0000 (11:02 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 9 Jan 2013 17:50:51 +0000 (09:50 -0800)
commit576ec8039c2a5c559c95192c9fc28c7188d71f27
treebc33f9d2aea9b0447b176cedf3e2378372fb5601
parentbfe834eb8e712ac195c5b31839556a3a00f2b228
openflow: Print in_port as string for reserved/special ports.

Currently, when we add a flow with in_port=65534, we get the
following warning.

"ofp_util|WARN|referring to port LOCAL as 65534 is deprecated
for compatibility with future versions of OpenFlow."

But ovs-ofctl, while dumping flows uses 65534 instead of LOCAL.
The same is true for other reserved ports.

This patch corrects that.

Bug #14118.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
lib/match.c
tests/ovs-ofctl.at