From: Ben Pfaff Date: Fri, 29 Oct 2010 16:50:56 +0000 (-0700) Subject: odp-util: Print in_port in decimal in format_odp_flow_key(). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da6be985c6fc7f6b425f660501133f1118a73b5;p=openvswitch odp-util: Print in_port in decimal in format_odp_flow_key(). Suggested-by: Justin Pettit --- diff --git a/lib/odp-util.c b/lib/odp-util.c index 998dab22..8367597b 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -42,7 +42,8 @@ odp_actions_add(struct odp_actions *actions, uint16_t type) void format_odp_flow_key(struct ds *ds, const struct odp_flow_key *key) { - ds_put_format(ds, "tun_id0x%08x in_port%04x tci(", key->tun_id, key->in_port); + ds_put_format(ds, "tun_id0x%08x in_port%d tci(", + key->tun_id, key->in_port); if (key->dl_tci) { ds_put_format(ds, "vlan%"PRIu16",pcp%d", vlan_tci_to_vid(key->dl_tci),