Skip to content

Commit c4cf4bf

Browse files
authored
Released data diode system information (#53)
* docs: build requirements for `make` * fix: match MQTT client ID
1 parent 5df4609 commit c4cf4bf

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BIN_NAME=diode
2-
BIN_VERSION=0.1.3
2+
BIN_VERSION=0.1.4
33
BIN_DATE=$(shell date +%FT%T%z)
44

55
all: build

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Scripts for verifying TCP passthrough functionality.
1111
- Clone repository: `gh repo clone acep-uaf/data-diode`
1212
- Source navigation: `cd data-diode`
1313
- Build binary: `make`
14+
- [`build-essential`](https://packages.ubuntu.com/focal/build-essential)
1415
- CLI: `./diode [options...]`
1516

1617
#### Branch Management

utility/republisher.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func UnencapsulatePayload(message string) string {
126126

127127
func PublishPayload(server string, port int, topic string, message string) {
128128
location := fmt.Sprintf("tcp://%s:%d", server, port)
129-
opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rev_string")
129+
opts := mqtt.NewClientOptions().AddBroker(location).SetClientID("out_rec_string")
130130

131131
client := mqtt.NewClient(opts)
132132
if token := client.Connect(); token.Wait() && token.Error() != nil {

0 commit comments

Comments
 (0)