blob: 26dd4ceefb8eed4961412158293d1f41c509838d [file] [log] [blame]
#!/usr/bin/env bash
ipaddr=$1
strategy=$2
nfdc add-nexthop ndn:/test-loop udp4://$ipaddr || exit 1
nfdc set-strategy ndn:/test-loop $strategy || exit 1