Merged in multipathtor/minitopo/master-fix (pull request #1)

Fix the tcpdump command sended to client instead of server
This commit is contained in:
Benjamin Hesmans 2015-04-27 13:30:26 +02:00
commit d930a1694c

View File

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