diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2021-09-27 09:54:02 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2021-09-27 09:54:02 +0300 |
commit | 28bd91a809c6cd9329b72b1ef79e4e869aeac18a (patch) | |
tree | e9aa17ebed5f86923494e5fa0877710d510da0b3 /build | |
parent | ea68ce93f66af21427bc16774ce9a83dd614d2fb (diff) |
...G...... [ZBXNEXT-6923] added ability to to use separately specified port
Diffstat (limited to 'build')
-rw-r--r-- | build/win32/examples/zabbix_sender/sender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/win32/examples/zabbix_sender/sender.c b/build/win32/examples/zabbix_sender/sender.c index 46c51c26b48..91878010442 100644 --- a/build/win32/examples/zabbix_sender/sender.c +++ b/build/win32/examples/zabbix_sender/sender.c @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) } /* send one value to the argv[1] IP address and the default trapper port 10051 */ - if (-1 == zabbix_sender_send_values(argv[1], 0, NULL, &value, 1, &result)) + if (-1 == zabbix_sender_send_values(argv[1], 10051, NULL, &value, 1, &result)) { printf("sending failed: %s\n", result); } |