vishvananda/netlink

netlink.LinkByName: link is down on first try

xphoniex opened this issue · 1 comments

calling netlink.LinkByName(..) returns a fatal log saying <interface> is down. Re-running the application again works.

Is there a way to accomplish this without having to run the program again? I can try twice if the log is not fatal, so it wouldn't exit on its own.

I seem to have made a mistake which I can't reproduce.