Skip to content

Commit 5daab44

Browse files
authored
Changed packetcapture client name and fixed the buffer synchronization problem (#271)
1 parent 7855b8e commit 5daab44

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/pcn-packetcapture/Packetcapture_Client/client.py renamed to src/services/pcn-packetcapture/client/packetcapture.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def listening():
157157
global f, stop
158158
while(1):
159159
if stop:
160+
os.sync()
160161
f.close()
161162
break
162163
getAndWritePacket(sys.argv[1])

0 commit comments

Comments
 (0)