summaryrefslogtreecommitdiff
path: root/cmd/cvend-ipp/main.go
diff options
context:
space:
mode:
authorKevin Wallace <kevin@pentabarf.net>2026-04-26 10:29:08 -0700
committerKevin Wallace <kevin@pentabarf.net>2026-04-26 10:43:21 -0700
commiteb13241672e34b7d982f0644aa9bced34edcf493 (patch)
tree8646d45d5ea6dbae51b6f43b0d1ed9b3d3d4f633 /cmd/cvend-ipp/main.go
parentcvend wip (diff)
replyToHEADmaster
Diffstat (limited to 'cmd/cvend-ipp/main.go')
-rw-r--r--cmd/cvend-ipp/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/cvend-ipp/main.go b/cmd/cvend-ipp/main.go
index a985dc6..b8782d4 100644
--- a/cmd/cvend-ipp/main.go
+++ b/cmd/cvend-ipp/main.go
@@ -20,7 +20,7 @@ func main() {
log.SetFlags(log.Lshortfile | log.Ldate | log.Ltime | log.Lmicroseconds)
log.Println("cvend-ipp start")
wc := make(chan struct{}, 1)
- s, err := cvend.OpenIPP(func(msgType byte, msgData []byte) {
+ s, err := cvend.OpenIPP(func(seq, replyTo byte, msgType byte, msgData []byte) {
cvend.LogIPP(msgType, msgData)
select {
case wc <- struct{}{}:
@@ -44,7 +44,7 @@ func main() {
} else {
msgData = bs
}
- if err := s.SendIPP(msgType, msgData); err != nil {
+ if err := s.SendIPP(msgType, 0, msgData); err != nil {
panic(err)
}
if *wait > 0 {