diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 2f2a548f..fc329ef1 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -317,7 +317,7 @@ func send(ns *netsender.Sender) error { // populate input values, if any inputs := netsender.MakePins(ns.Param("ip"), "X") for i, pin := range inputs { - if pin.Name == "X23" { + if rv != nil && pin.Name == "X23" { inputs[i].Value = rv.Bitrate() } }