aboutsummaryrefslogtreecommitdiff
path: root/tools/hex.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hex.sh')
-rwxr-xr-xtools/hex.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/hex.sh b/tools/hex.sh
index 6d49fafdf..cfae14bb6 100755
--- a/tools/hex.sh
+++ b/tools/hex.sh
@@ -15,7 +15,7 @@ then
fi
send_hex_udp () {
- echo $2 | xxd -r -p | nc -u localhost $1
+ echo $2 | xxd -r -p | nc -u -w 0 localhost $1
}
send_hex_tcp () {
@@ -23,7 +23,7 @@ send_hex_tcp () {
}
send_text_udp () {
- echo -n -e $2 | nc -u localhost $1
+ echo -n -e $2 | nc -u -w 0 localhost $1
}
send_text_tcp () {