From e1e828de32e7fb6e3821ca853d0e7eef308662ba Mon Sep 17 00:00:00 2001 From: Glen Date: Tue, 16 Jun 2009 09:15:10 -0700 Subject: [PATCH] Flow expiry: Pretty-printing of idle timeout in flow expire msg --- lib/ofp-print.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ofp-print.c b/lib/ofp-print.c index 2bb1dc6..14e5953 100644 --- a/lib/ofp-print.c +++ b/lib/ofp-print.c @@ -775,10 +775,10 @@ ofp_print_flow_expired(struct ds *string, const void *oh, size_t len UNUSED, break; } ds_put_format(string, - " pri%"PRIu16" secs%"PRIu32" pkts%"PRIu64" bytes%"PRIu64"\n", + " pri%"PRIu16" secs%"PRIu32" idle%"PRIu16" pkts%"PRIu64" bytes%"PRIu64"\n", ofe->match.wildcards ? ntohs(ofe->priority) : (uint16_t)-1, - ntohl(ofe->duration), ntohll(ofe->packet_count), - ntohll(ofe->byte_count)); + ntohl(ofe->duration), ntohs(ofe->idle_timeout), + ntohll(ofe->packet_count), ntohll(ofe->byte_count)); } /* Pretty-print the NXT_FLOW_EXPIRED packet of 'len' bytes at 'oh' to 'string' * at the given 'verbosity' level. */