Correctly destructure return values of addr
I'd flipped the names around - it's addr, network, err, not network,
addr, err. Oops.
@@ -87,7 +87,7 @@ func main() {
config = &conf
}
- network, addr, err := addr(passedFlags, config, hostport, *toSSF)
+ addr, network, err := addr(passedFlags, config, hostport, *toSSF)
if err != nil {
logrus.WithError(err).Fatal("Error getting destination address.")
}
