Fix the tcpdump command sended to client instead of server

This commit is contained in:
Quentin Devos 2015-04-27 12:00:03 +02:00
parent 8cb08628f8
commit b9f28e1ea7

View File

@ -176,7 +176,7 @@ class MpExperience:
self.mpTopo.commandTo(self.mpConfig.client,
"tcpdump -i any -w client.pcap &")
if spcap == "yes" :
self.mpTopo.commandTo(self.mpConfig.client,
self.mpTopo.commandTo(self.mpConfig.server,
"tcpdump -i any -w server.pcap &")
if spcap == "yes" or cpcap == "yes":
self.mpTopo.commandTo(self.mpConfig.client,"sleep 5")