add dump-packet option
diff --git a/oft b/oft
old mode 100755
new mode 100644
index b96c009..c812c4e
--- a/oft
+++ b/oft
@@ -93,7 +93,8 @@
"random_seed" : None,
"disable_ipv6" : False,
"random_order" : False,
-
+ "dump_packet" : True,
+
# Other configuration
"port_map" : {},
}
@@ -212,6 +213,8 @@
help="Disable IPv6 tests")
group.add_option("--random-order", action="store_true",
help="Randomize order of tests")
+ group.add_option("--dump_packet", action="store_true",
+ help="Dump packet content on log when verify packet fail")
parser.add_option_group(group)
# Might need this if other parsers want command line