Adding line buffer option to tshark grep
diff --git a/TestON/drivers/common/cli/onosdriver.py b/TestON/drivers/common/cli/onosdriver.py
index 62aad08..3d9debf 100644
--- a/TestON/drivers/common/cli/onosdriver.py
+++ b/TestON/drivers/common/cli/onosdriver.py
@@ -992,9 +992,9 @@
         '''
         self.handle.sendline("")
         self.handle.expect("\$")
-        self.handle.sendline("\r")
+        self.handle.sendline("")
         self.handle.sendline("tshark -i "+str(interface)+
-                " -t e | grep \""+str(grep)+"\" > "+directory+" &")
+                " -t e | grep --line-buffered \""+str(grep)+"\" > "+directory+" &")
         self.handle.sendline("\r")
         self.handle.expect("Capturing on")
         self.handle.sendline("\r")