Update udprelay.c

This commit is contained in:
starter48
2023-01-09 10:57:23 +07:00
committed by GitHub
parent ee64533708
commit d5a3a7097d
+1 -1
View File
@@ -316,7 +316,7 @@ parse_udprelay_header(const char *buf, const size_t buf_len,
}
if (port != NULL) {
sprintf(port, "%d", load16_be(buf + offset));
sprintf(port, "%d", ntohs(*(uint16_t*)(buf + offset)));
}
offset += 2;