ndn: bug fixes in nfdc and experiments
Change-Id: I8cb9b0a9e53e0319e3f18ab6a52867d406a31fd5
diff --git a/ndn/experiments/multiple_failure_experiment.py b/ndn/experiments/multiple_failure_experiment.py
index 0836949..6b4ce6b 100644
--- a/ndn/experiments/multiple_failure_experiment.py
+++ b/ndn/experiments/multiple_failure_experiment.py
@@ -23,6 +23,7 @@
from ndn.experiments.experiment import Experiment
from ndn.nlsr import Nlsr
+from ndn.apps.ndn_ping_client import NDNPingClient
import time
@@ -74,7 +75,7 @@
# Restart pings
for nodeToPing in self.pingedDict[host]:
- self.ping(host, nodeToPing, nPings)
+ NDNPingClient.ping(host, nodeToPing, nPings)
time.sleep(self.RECOVERY_INTERVAL - recovery_time)