mirror of https://bitbucket.org/ausocean/av.git
netsender.Send now takes the payload param.
This commit is contained in:
parent
b46ed2a954
commit
79fc58af63
|
@ -322,7 +322,7 @@ func sendTo(ns netsender.Netsender) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
inputs := strings.Split(ns.GetConfigParam("ip"), ",")
|
inputs := strings.Split(ns.GetConfigParam("ip"), ",")
|
||||||
_, reconfig, err := ns.Send(netsender.RequestPoll, inputs)
|
_, reconfig, err := ns.Send(netsender.RequestPoll, inputs, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue