From 386a62a104613a06214104e364f453522bdad6c9 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 29 Oct 2010 09:49:46 -0700 Subject: [PATCH] odp-util: Print tunnel id as part of ODP flow key in format_odp_flow_key(). --- lib/odp-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/odp-util.c b/lib/odp-util.c index 511ec3a9..998dab22 100644 --- a/lib/odp-util.c +++ b/lib/odp-util.c @@ -42,7 +42,7 @@ 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, "in_port%04x tci(", key->in_port); + ds_put_format(ds, "tun_id0x%08x in_port%04x 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), -- 2.30.2