From 6863b0a047157e9ef6e587da2513b38ca2ec5d61 Mon Sep 17 00:00:00 2001
From: Kanzhe Jiang <kanzhe.jiang@bigswitch.com>
Date: Tue, 14 Aug 2012 23:44:26 -0700
Subject: [PATCH] Show wildcard in OFMatch toString()

---
 src/main/java/org/openflow/protocol/OFMatch.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/openflow/protocol/OFMatch.java b/src/main/java/org/openflow/protocol/OFMatch.java
index def0bfa7c..22d05bd31 100644
--- a/src/main/java/org/openflow/protocol/OFMatch.java
+++ b/src/main/java/org/openflow/protocol/OFMatch.java
@@ -726,7 +726,7 @@ public class OFMatch implements Cloneable, Serializable {
      */
     @Override
     public String toString() {
-        String str = "";
+        String str = "wildcard=0x" + Integer.toHexString(this.wildcards);
 
         // l1
         if ((wildcards & OFPFW_IN_PORT) == 0)
-- 
GitLab