From 8f33e9e8dfa25cd49836627255008fe45f15fdd4 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Tue, 29 Apr 2014 02:46:37 +0400 Subject: [PATCH 01/16] Add Makefiles --- Makefile | 29 +++++++++++++++++++++++++++++ modbus_client/Makefile | 25 +++++++++++++++++++++++++ modbus_server/Makefile | 25 +++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 Makefile create mode 100644 modbus_client/Makefile create mode 100644 modbus_server/Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2be773b --- /dev/null +++ b/Makefile @@ -0,0 +1,29 @@ +DESTDIR=/ +prefix=usr + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CC=gcc +else + CC=$(DEB_HOST_GNU_TYPE)-gcc +endif + +CC_FLAGS=-I../common -I/usr/include/modbus -L../common -lmodbus + +all: client server + +client: + $(MAKE) -C modbus_client + +server: + $(MAKE) -C modbus_server + +install: $(BIN_NAME) + $(MAKE) -C modbus_client install + $(MAKE) -C modbus_server install + + +clean: + $(MAKE) -C modbus_client clean + $(MAKE) -C modbus_server clean + +.PHONY: install clean all \ No newline at end of file diff --git a/modbus_client/Makefile b/modbus_client/Makefile new file mode 100644 index 0000000..52ee233 --- /dev/null +++ b/modbus_client/Makefile @@ -0,0 +1,25 @@ +DESTDIR=/ +prefix=usr +BIN_NAME=modbus_client + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CC=gcc +else + CC=$(DEB_HOST_GNU_TYPE)-gcc +endif + +CC_FLAGS=-I../common `pkg-config --libs --cflags libmodbus` + +$(BIN_NAME): + $(CC) modbus_client.c $(CC_FLAGS) -o $(BIN_NAME) + + +install: $(BIN_NAME) + install -m 0755 $(BIN_NAME) $(DESTDIR)/$(prefix)/bin/$(BIN_NAME) + +clean: + -@rm $(BIN_NAME) +.PHONY: install clean all + + + diff --git a/modbus_server/Makefile b/modbus_server/Makefile new file mode 100644 index 0000000..99fbc57 --- /dev/null +++ b/modbus_server/Makefile @@ -0,0 +1,25 @@ +DESTDIR=/ +prefix=usr +BIN_NAME=modbus_server + +ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + CC=gcc +else + CC=$(DEB_HOST_GNU_TYPE)-gcc +endif + +CC_FLAGS=-I../common `pkg-config --libs --cflags libmodbus` + +$(BIN_NAME): + $(CC) modbus_server.c $(CC_FLAGS) -o $(BIN_NAME) + + +install: $(BIN_NAME) + install -m 0755 $(BIN_NAME) $(DESTDIR)/$(prefix)/bin/$(BIN_NAME) + +clean: + -@rm $(BIN_NAME) +.PHONY: install clean all + + + From 9ec28ecb332f24b4769fdb6d4262c5089449879e Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Tue, 29 Apr 2014 02:46:47 +0400 Subject: [PATCH 02/16] Add debian control directory --- debian/changelog | 7 +++++++ debian/compat | 1 + debian/control | 11 +++++++++++ debian/copyright | 0 debian/modbus-utils.dirs | 2 ++ debian/rules | 3 +++ debian/source/format | 1 + 7 files changed, 25 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/modbus-utils.dirs create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1d980f5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,7 @@ +modbus-utils (1.0) wheezy; urgency=low + + * Initial debianization using https://github.com/Krzysztow/modbus-utils + + -- Evgeny Boger Tue, 29 Apr 2014 01:59:04 +0400 + + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..11c6fb3 --- /dev/null +++ b/debian/control @@ -0,0 +1,11 @@ +Source: modbus-utils +Maintainer: Evgeny Boger +Section: misc +Priority: optional +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 9), pkg-config, libmodbus-dev + +Package: modbus-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, libmodbus5 +Description: Modbus client and server command line tools based on libmodbus \ No newline at end of file diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e69de29 diff --git a/debian/modbus-utils.dirs b/debian/modbus-utils.dirs new file mode 100644 index 0000000..98d1583 --- /dev/null +++ b/debian/modbus-utils.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cbe925d --- /dev/null +++ b/debian/rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +%: + dh $@ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..9f67427 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) \ No newline at end of file From 4a032777ccba31ba20502fec251ce79feb27ae17 Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Thu, 24 Jul 2014 14:19:21 +0400 Subject: [PATCH 03/16] Fix ReadDiscreteInput. --- modbus_client/modbus_client.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modbus_client/modbus_client.c b/modbus_client/modbus_client.c index f42280d..f2bcfb5 100644 --- a/modbus_client/modbus_client.c +++ b/modbus_client/modbus_client.c @@ -198,10 +198,8 @@ int main(int argc, char **argv) //choose write data type switch (fType) { case(ReadCoils): - wDataType = Data8Array; - break; case(ReadDiscreteInput): - wDataType = DataInt; + wDataType = Data8Array; break; case(ReadHoldingRegisters): case(ReadInputRegisters): @@ -317,8 +315,7 @@ int main(int argc, char **argv) ret = modbus_read_bits(ctx, startAddr, readWriteNo, data.data8); break; case(ReadDiscreteInput): - printf("ReadDiscreteInput: not implemented yet!\n"); - wDataType = DataInt; + ret = modbus_read_input_bits(ctx, startAddr, readWriteNo, data.data8); break; case(ReadHoldingRegisters): ret = modbus_read_registers(ctx, startAddr, readWriteNo, data.data16); From a737b80ebbd94c560743d23f4aaf7b3856a7683d Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Tue, 5 Aug 2014 21:50:51 +0400 Subject: [PATCH 04/16] Added set-rd-address.sh. --- Makefile | 4 ++-- debian/changelog | 7 +++++++ set-rd-address.sh | 19 +++++++++++++++++++ 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100755 set-rd-address.sh diff --git a/Makefile b/Makefile index 2be773b..005d181 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,10 @@ server: install: $(BIN_NAME) $(MAKE) -C modbus_client install $(MAKE) -C modbus_server install - + install -m 0755 set-rd-address.sh $(DESTDIR)/$(prefix)/bin/set-rd-address.sh clean: $(MAKE) -C modbus_client clean $(MAKE) -C modbus_server clean -.PHONY: install clean all \ No newline at end of file +.PHONY: install clean all diff --git a/debian/changelog b/debian/changelog index 1d980f5..c47a6e7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +modbus-utils (1.1) wheezy; urgency=low + + * Add set-rd-address.sh script + * Fix ReadDiscreteInput function + + -- Ivan Shvedunov Wed, 06 Aug 2014 10:15:01 +0400 + modbus-utils (1.0) wheezy; urgency=low * Initial debianization using https://github.com/Krzysztow/modbus-utils diff --git a/set-rd-address.sh b/set-rd-address.sh new file mode 100755 index 0000000..337544a --- /dev/null +++ b/set-rd-address.sh @@ -0,0 +1,19 @@ +#!/bin/bash +set -u -e +if [ $# -lt 2 ]; then + echo "Usage: $0 serial_port address [register]" 1>&2 + echo "Sets slave address using broadcast Modbus request." 1>&2 + echo "e.g. $0 /dev/ttyNSC0 0x16" 1>&2 + echo "register denotes the target holding register address and defaults to 0x80." 1>&2 + echo "Make sure that only the target device is present on the RS485 bus." 1>&2 + exit 1 +fi +serial_port="$1" +address="$2" +register="0x80" +if [ $# -gt 2 ]; then + register="$3" +fi +echo "NOTE: an error below doesn't necessarily mean that the command didn't work!" 1>&2 +modbus_client --debug -mrtu -a0x00 -r"$register" -t0x06 -d8 -s1 -pnone "$serial_port" "$address" +echo "Done. Please turn the device off, then on." 1>&2 From 33be25ac9fc0ed2b676e2e4d306023de1373c13e Mon Sep 17 00:00:00 2001 From: Ivan Shvedunov Date: Wed, 6 Aug 2014 11:51:01 +0400 Subject: [PATCH 05/16] Added .gitignore. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e455f32 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +debian/files +debian/modbus-utils* +modbus_client/modbus_client +modbus_server/modbus_server From 028536b4a0ebe9e9d689e27640401c1c12d7f159 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Sat, 20 Sep 2014 17:22:59 +0400 Subject: [PATCH 06/16] change changelog author to get signed package --- debian/changelog | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c47a6e7..3712170 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,9 @@ modbus-utils (1.1) wheezy; urgency=low * Add set-rd-address.sh script * Fix ReadDiscreteInput function - - -- Ivan Shvedunov Wed, 06 Aug 2014 10:15:01 +0400 + (was) Ivan Shvedunov Wed, 06 Aug 2014 10:15:01 +0400 + + -- Evgeny Boger Wed, 06 Aug 2014 10:15:01 +0400 modbus-utils (1.0) wheezy; urgency=low From 726dbdf53f763f11597370c55fefe623e11df3fd Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Thu, 9 Jul 2015 19:55:33 +0300 Subject: [PATCH 07/16] fix error in baud rate handling --- common/mbu-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mbu-common.h b/common/mbu-common.h index 483c542..255ce05 100644 --- a/common/mbu-common.h +++ b/common/mbu-common.h @@ -55,7 +55,7 @@ int setRtuParam(void *backend, char c, char *value) { switch (c) { case 'b': { rtuParams->baud = getInt(value, &ok); - if (0 != ok) { + if (0 == ok) { printf("Baudrate is invalid %s", value); ok = 0; } From 9764ac384c68028d0c540b99fa3a363f16d4f926 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Thu, 9 Jul 2015 19:56:06 +0300 Subject: [PATCH 08/16] add source dependency --- modbus_client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modbus_client/Makefile b/modbus_client/Makefile index 52ee233..08f24c7 100644 --- a/modbus_client/Makefile +++ b/modbus_client/Makefile @@ -10,7 +10,7 @@ endif CC_FLAGS=-I../common `pkg-config --libs --cflags libmodbus` -$(BIN_NAME): +$(BIN_NAME): modbus_client.c $(CC) modbus_client.c $(CC_FLAGS) -o $(BIN_NAME) From 9e23824e6b30ff715b6df964c951a762e15598b5 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Wed, 22 Jul 2015 22:53:37 +0300 Subject: [PATCH 09/16] fix timeout handling --- debian/changelog | 12 ++++++++++++ modbus_client/modbus_client.c | 8 ++++++++ 2 files changed, 20 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3712170..6c90bc1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +modbus-utils (1.2.1) stable; urgency=medium + + * fix timeout handling + + -- Evgeny Boger Wed, 22 Jul 2015 22:53:15 +0300 + +modbus-utils (1.2) stable; urgency=medium + + * fix baud rate handling + + -- Evgeny Boger Thu, 09 Jul 2015 19:55:45 +0300 + modbus-utils (1.1) wheezy; urgency=low * Add set-rd-address.sh script diff --git a/modbus_client/modbus_client.c b/modbus_client/modbus_client.c index f2bcfb5..c528d13 100644 --- a/modbus_client/modbus_client.c +++ b/modbus_client/modbus_client.c @@ -302,6 +302,14 @@ int main(int argc, char **argv) modbus_set_debug(ctx, debug); modbus_set_slave(ctx, slaveAddr); + struct timeval response_timeout; + response_timeout.tv_sec = 0; + response_timeout.tv_usec = timeout_ms * 1000; + #if LIBMODBUS_VERSION_CHECK(3, 1, 2) + modbus_set_response_timeout(ctx, response_timeout.tv_sec, response_timeout.tv_usec); + #else + modbus_set_response_timeout(ctx, &response_timeout); + #endif //issue the request int ret = -1; if (modbus_connect(ctx) == -1) { From d04647b9c70184ae9113b9a5e7aa5b42f9ca83e1 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Wed, 21 Dec 2016 13:12:59 +0300 Subject: [PATCH 10/16] Revert "Added set-rd-address.sh." This reverts commit a737b80ebbd94c560743d23f4aaf7b3856a7683d. --- Makefile | 4 ++-- set-rd-address.sh | 19 ------------------- 2 files changed, 2 insertions(+), 21 deletions(-) delete mode 100755 set-rd-address.sh diff --git a/Makefile b/Makefile index 005d181..2be773b 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,10 @@ server: install: $(BIN_NAME) $(MAKE) -C modbus_client install $(MAKE) -C modbus_server install - install -m 0755 set-rd-address.sh $(DESTDIR)/$(prefix)/bin/set-rd-address.sh + clean: $(MAKE) -C modbus_client clean $(MAKE) -C modbus_server clean -.PHONY: install clean all +.PHONY: install clean all \ No newline at end of file diff --git a/set-rd-address.sh b/set-rd-address.sh deleted file mode 100755 index 337544a..0000000 --- a/set-rd-address.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -set -u -e -if [ $# -lt 2 ]; then - echo "Usage: $0 serial_port address [register]" 1>&2 - echo "Sets slave address using broadcast Modbus request." 1>&2 - echo "e.g. $0 /dev/ttyNSC0 0x16" 1>&2 - echo "register denotes the target holding register address and defaults to 0x80." 1>&2 - echo "Make sure that only the target device is present on the RS485 bus." 1>&2 - exit 1 -fi -serial_port="$1" -address="$2" -register="0x80" -if [ $# -gt 2 ]; then - register="$3" -fi -echo "NOTE: an error below doesn't necessarily mean that the command didn't work!" 1>&2 -modbus_client --debug -mrtu -a0x00 -r"$register" -t0x06 -d8 -s1 -pnone "$serial_port" "$address" -echo "Done. Please turn the device off, then on." 1>&2 From bc170ce98fda8c649379f02de74b44c4450b82e1 Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Wed, 21 Dec 2016 13:18:17 +0300 Subject: [PATCH 11/16] exit with EXIT_FAILURE in case Modbus request is failed --- debian/changelog | 6 ++++++ modbus_client/modbus_client.c | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6c90bc1..1d9bc4b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +modbus-utils (1.2.2) stable; urgency=medium + + * exit with EXIT_FAILURE in case Modbus request is failed + + -- Evgeny Boger Wed, 21 Dec 2016 13:16:41 +0300 + modbus-utils (1.2.1) stable; urgency=medium * fix timeout handling diff --git a/modbus_client/modbus_client.c b/modbus_client/modbus_client.c index c528d13..bc2aa5d 100644 --- a/modbus_client/modbus_client.c +++ b/modbus_client/modbus_client.c @@ -349,8 +349,9 @@ int main(int argc, char **argv) exit(EXIT_FAILURE); } } + uint8_t success = (ret == readWriteNo); - if (ret == readWriteNo) {//success + if (success) { if (isWriteFunction) printf("SUCCESS: written %d elements!\n", readWriteNo); else { @@ -392,5 +393,5 @@ int main(int argc, char **argv) break; } - exit(EXIT_SUCCESS); + exit(success ? EXIT_SUCCESS : EXIT_FAILURE); } From 0e8a52c65280a15538544e8ecb71e1724e7d9edf Mon Sep 17 00:00:00 2001 From: Evgeny Boger Date: Wed, 21 Dec 2016 14:25:00 +0300 Subject: [PATCH 12/16] disable annoying "timeout is set" information message --- debian/changelog | 6 ++++++ modbus_client/modbus_client.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1d9bc4b..934832d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +modbus-utils (1.2.3) stable; urgency=medium + + * disable annoying "timeout is set" information message + + -- Evgeny Boger Wed, 21 Dec 2016 14:24:32 +0300 + modbus-utils (1.2.2) stable; urgency=medium * exit with EXIT_FAILURE in case Modbus request is failed diff --git a/modbus_client/modbus_client.c b/modbus_client/modbus_client.c index bc2aa5d..9e83021 100644 --- a/modbus_client/modbus_client.c +++ b/modbus_client/modbus_client.c @@ -153,7 +153,6 @@ int main(int argc, char **argv) printUsage(argv[0]); exit(EXIT_FAILURE); } - printf("Timeout set to %d\r\n", timeout_ms); } break; From 72a955a4ade2ecf872a2ff0e1d46a115999a6b93 Mon Sep 17 00:00:00 2001 From: Vladimir Romanov Date: Sun, 27 Jan 2019 12:45:44 +0300 Subject: [PATCH 13/16] added check if value to write is passed && port is string --- modbus_client/modbus_client.c | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/modbus_client/modbus_client.c b/modbus_client/modbus_client.c index 9e83021..284b7fb 100644 --- a/modbus_client/modbus_client.c +++ b/modbus_client/modbus_client.c @@ -51,6 +51,8 @@ int main(int argc, char **argv) int c; int ok; + int gotData = 0; //Data_to_write existance flag + int raw_data = 0; //While parsing not keyword args int debug = 0; BackendParams *backend = 0; int slaveAddr = 1; @@ -193,7 +195,6 @@ int main(int argc, char **argv) if (1 == startReferenceAt0) { startAddr--; } - //choose write data type switch (fType) { case(ReadCoils): @@ -253,8 +254,10 @@ int main(int argc, char **argv) if (1 == debug && 1 == isWriteFunction) printf("Data to write: "); if (optind < argc) { + while (optind < argc) { - if (0 == hasDevice) { + raw_data = getInt(argv[optind], &ok); + if (0 == hasDevice && ok == 0) { //Portname couldn't consist of only numbers if (0 != backend) { if (Rtu == backend->type) { RtuBackend *rtuP = (RtuBackend*)backend; @@ -268,21 +271,24 @@ int main(int argc, char **argv) } } } - else {//setting write data buffer + else {//Got int as data => setting write data buffer switch (wDataType) { case (DataInt): - data.dataInt = getInt(argv[optind], 0); + data.dataInt = raw_data; + gotData = 1; if (debug) printf("0x%x", data.dataInt); break; case (Data8Array): { - data.data8[wDataIdx] = getInt(argv[optind], 0); + data.data8[wDataIdx] = raw_data; + gotData = 1; if (debug) printf("0x%02x ", data.data8[wDataIdx]); } break; case (Data16Array): { - data.data16[wDataIdx] = getInt(argv[optind], 0); + data.data16[wDataIdx] = raw_data; + gotData = 1; if (debug) printf("0x%04x ", data.data16[wDataIdx]); } @@ -293,8 +299,14 @@ int main(int argc, char **argv) optind++; } } - if (1 == debug && 1 == isWriteFunction) - printf("\n"); + + if (isWriteFunction == 1){ + if (gotData == 0) { + printf("\nSeems you are using a write function\nDon't forget to specify the value!\n"); + exit(EXIT_FAILURE);} + if (debug == 1) + printf("\n"); + } //create modbus context, and preapare it modbus_t *ctx = backend->createCtxt(backend); From 8c89ff0a4418eee8aa7d1894154b27c1ce4e1298 Mon Sep 17 00:00:00 2001 From: Vladimir Romanov Date: Sun, 27 Jan 2019 21:52:18 +0300 Subject: [PATCH 14/16] updated changelog --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index 934832d..bf6ba33 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +modbus-utils (1.2.4) stable; urgency=medium + + * added check if any value is passed to write function + * improved parsing args for port + + -- Vladimir Romanov Sun, 27 Jan 2018 18:33:12 +0300 + modbus-utils (1.2.3) stable; urgency=medium * disable annoying "timeout is set" information message From 24dad0da56bc83480e15d915441a30f9612b7201 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 May 2021 16:04:29 +0000 Subject: [PATCH 15/16] Fix IP parsinf from forum user cu6apum --- common/mbu-common.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/common/mbu-common.h b/common/mbu-common.h index 255ce05..ee9f48a 100644 --- a/common/mbu-common.h +++ b/common/mbu-common.h @@ -14,9 +14,12 @@ typedef enum { int getInt(const char str[], int *ok) { int value; int ret = sscanf(str, "0x%x", &value); - if (0 >= ret) {//couldn't convert from hex, try dec - ret = sscanf(str, "%d", &value); - } + if (0 >= ret) { // couldn't convert from hex, try dec + if (strstr(str, ".")) // dotted ip address + ret = 0; + else + ret = sscanf(str, "%d", &value); + } if (0 != ok) { *ok = (0 < ret); From 4243ad42dc70e1e9d9373f18cbcb7fac4ec7df67 Mon Sep 17 00:00:00 2001 From: brainroot Date: Mon, 17 May 2021 16:16:13 +0000 Subject: [PATCH 16/16] Fix IP parsing from forum user cu6apum -add changelog --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/changelog b/debian/changelog index bf6ba33..6b99667 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ + +modbus-utils (1.2.5) stable; urgency=medium + + * bugfix + + -- Andrey Radionov Mon, 17 May 2021 19:14:12 +0300 + modbus-utils (1.2.4) stable; urgency=medium * added check if any value is passed to write function