aboutsummaryrefslogtreecommitdiff
path: root/tools/hex.sh
diff options
context:
space:
mode:
authorGavriel Fleischer <flocsy@gmail.com>2019-01-07 22:14:04 +0200
committerGavriel Fleischer <flocsy@gmail.com>2019-01-07 22:14:04 +0200
commit19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5 (patch)
tree2ddea236ea0365df314210cc9988103116e6c162 /tools/hex.sh
parent96878a4baa6706e1903cde05e23cd21bc31348f4 (diff)
downloadtrackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.tar.gz
trackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.tar.bz2
trackermap-server-19b13e0efd3c52df2a1dcaf7204342ffe6cdaec5.zip
disconnect after hex command sent
Diffstat (limited to 'tools/hex.sh')
-rwxr-xr-xtools/hex.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hex.sh b/tools/hex.sh
index 78cd8fa38..b9ea36de2 100755
--- a/tools/hex.sh
+++ b/tools/hex.sh
@@ -27,7 +27,7 @@ send_hex_udp () {
}
send_hex_tcp () {
- echo "$hex" | xxd -r -p | nc "$host" "$port"
+ echo "$hex" | xxd -r -p | nc -N "$host" "$port"
}
send_text_udp () {