ofp-util: New function ofputil_port_to_string().
authorBen Pfaff <blp@nicira.com>
Mon, 24 Jun 2013 20:18:46 +0000 (13:18 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 24 Jun 2013 20:21:30 +0000 (13:21 -0700)
commit28b114322856db3870fb2825fc5dbfc8d16f3a7f
treef8b8113f367eacb4fafaa1fa8ef0a28ea1e03519
parent46d4c97ff75b647474f59cb141623a89a75388cd
ofp-util: New function ofputil_port_to_string().

This function is more convenient than ofputil_format_port() when a "struct
ds" is not already in use.  This commit converts one caller for which this
was already true, and the following commit will add another.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-util.c
lib/ofp-util.h