• R/O
  • HTTP
  • SSH
  • HTTPS

dscsd-cap: Commit


Commit MetaInfo

Revisionc337b364224b461349099c9bf657ff89983f7793 (tree)
Time2018-12-10 16:01:43
AuthorSatoshi Yasuda <7m3tjz;jarl.com>
CommiterSatoshi Yasuda

Log Message

modified: capture_read.c

Change Summary

Incremental Difference

--- a/capture_read.c
+++ b/capture_read.c
@@ -37,7 +37,7 @@ void capture_read (void)
3737 hints.ai_socktype = SOCK_DGRAM;
3838 hints.ai_protocol = 0;
3939 sprintf (PORT, "%d", ex_port);
40- if (getaddrinfo (trust_server_fqdn, PORT, &hints, &result) != 0)
40+ if (getaddrinfo (trust_server_fqdn, PORT, &hints, &result) == 0)
4141 {
4242
4343 memcpy (&buff[8], &pkt_data[data_p], length);
Show on old repository browser