[ovs-dev] [PATCH 2/3] nx-match: Improve log message in nx_entry_ok().

Ben Pfaff blp at nicira.com
Thu Jul 19 07:24:12 UTC 2012


Signed-off-by: Ben Pfaff <blp at nicira.com>
---
 lib/nx-match.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/nx-match.c b/lib/nx-match.c
index 8b2a822..4bc4973 100644
--- a/lib/nx-match.c
+++ b/lib/nx-match.c
@@ -67,7 +67,8 @@ nx_entry_ok(const void *p, unsigned int match_len)
 
     if (match_len < 4) {
         if (match_len) {
-            VLOG_DBG_RL(&rl, "nx_match ends with partial nxm_header");
+            VLOG_DBG_RL(&rl, "nx_match ends with partial (%u-byte) nxm_header",
+                        match_len);
         }
         return 0;
     }
-- 
1.7.2.5




More information about the dev mailing list