blob: b95a9fd0cfb406ea0d8427a3c8b7e350b7b9672d [file] [log] [blame]
#!/usr/bin/env bash
ipaddr=$1
strategy=$2
nfdc face create udp4://$ipaddr || exit 1
nfdc route add /test-loop udp4://$ipaddr || exit 1
nfdc strategy set /test-loop $strategy || exit 1