Skip to content

Commit

Permalink
Released data diode system information (#53)
Browse files Browse the repository at this point in the history
* docs: build requirements for `make`

* fix: match MQTT client ID
  • Loading branch information
TechSolomon authored May 1, 2024
1 parent 5df4609 commit c4cf4bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion utility/republisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c4cf4bf

Please sign in to comment.