remove use of deprecated nfdc syntax and update output processing
change all calls to nfd-status to nfdc
(except test_nfdc)
refs #4058
Change-Id: I4205602d180f5cb5c64e9883e79d5deb518533ad
diff --git a/test_multicast/multicast-test.sh b/test_multicast/multicast-test.sh
index 11295ee..7b1d9bd 100755
--- a/test_multicast/multicast-test.sh
+++ b/test_multicast/multicast-test.sh
@@ -28,8 +28,8 @@
# start nfd and add nexthop of ndn:/test-mcast to UDP multicast face
sudo nfd &> $workdir/logs/$1/nfd.log &
sleep 3
-faceid=$(nfd-status -f | grep $a_ipaddr | grep -Po 'faceid=.*? ' | sed 's/faceid=//' | sed 's/ //')
-nfdc add-nexthop ndn:/test-mcast $faceid
+faceid=$(nfdc face list | grep $a_ipaddr | grep -Po 'faceid=.*? ' | sed 's/faceid=//' | sed 's/ //')
+nfdc route add ndn:/test-mcast $faceid
# use ndnpeek to test multicast feature
response=$(ndnpeek -p ndn:/test-mcast/B/1)