loop: fix cmd line arg parsing bug

This commit is contained in:
Joost Jager 2019-03-21 13:41:50 +01:00
parent e4b4b9461f
commit 4c910f28b0
No known key found for this signature in database
GPG key ID: A61B9D4C393C59C7

View file

@ -48,6 +48,7 @@ func loopOut(ctx *cli.Context) error {
if err != nil {
return err
}
args = args.Tail()
var destAddr string
switch {