diff --git a/Makefile b/Makefile index 3f9fbc0..aa08827 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ BIN_NAME=diode -BIN_VERSION=0.1.3 +BIN_VERSION=0.1.4 BIN_DATE=$(shell date +%FT%T%z) all: build diff --git a/README.md b/README.md index 822790f..8965ba4 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ Scripts for verifying TCP passthrough functionality. - Clone repository: `gh repo clone acep-uaf/data-diode` - Source navigation: `cd data-diode` - Build binary: `make` + - [`build-essential`](https://packages.ubuntu.com/focal/build-essential) - CLI: `./diode [options...]` #### Branch Management diff --git a/utility/republisher.go b/utility/republisher.go index ee54b94..7b016e7 100644 --- a/utility/republisher.go +++ b/utility/republisher.go @@ -126,7 +126,7 @@ func UnencapsulatePayload(message string) string { func PublishPayload(server string, port int, topic string, message string) { location := fmt.Sprintf("tcp://%s:%d", server, port) - opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rev_string") + opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rec_string") client := mqtt.NewClient(opts) if token := client.Connect(); token.Wait() && token.Error() != nil {