From 300d16e932065ad8e86c1a9bbece676352478156 Mon Sep 17 00:00:00 2001 From: eeff <33566201+eeff@users.noreply.github.com> Date: Tue, 21 Mar 2023 10:30:32 +0800 Subject: [PATCH] fix: schema api compatibility for `Modbus TCP` --- plugins/restful/normal_handle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/restful/normal_handle.c b/plugins/restful/normal_handle.c index e43c9f2d..86e2008b 100644 --- a/plugins/restful/normal_handle.c +++ b/plugins/restful/normal_handle.c @@ -220,6 +220,10 @@ static struct { .plugin = "Modbus RTU", .schema = "modbus-rtu", }, + { + .plugin = "Modbus TCP", + .schema = "modbus-tcp", + }, { .plugin = "Modbus TCP community", .schema = "modbus-tcp-community",