Fix a bug in the implementation of method FlowPathFlags.toString()
diff --git a/src/main/java/net/onrc/onos/ofcontroller/util/FlowPathFlags.java b/src/main/java/net/onrc/onos/ofcontroller/util/FlowPathFlags.java
index c842e25..97113ca 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/util/FlowPathFlags.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/util/FlowPathFlags.java
@@ -105,7 +105,7 @@
*
* @return the Flow Path flags as a string.
*/
- @Override
+ @Override
public String toString() {
String flagsStr = null;
String ret = "[flags=";
@@ -119,7 +119,7 @@
flagsStr += ",";
flagsStr += "KEEP_ONLY_FIRST_HOP_ENTRY";
}
- ret += "]";
+ ret += flagsStr + "]";
return ret;
}