dns/dnsjit: Fix build issues on 13-STABLE and newer versions
PR: 261274 Approved by: Leo Vandewoestijne <freebsd@dns.company> (maintainer timeout, 7+ weeks)
This commit is contained in:
parent
229ab97a2e
commit
b1fffcc632
20
dns/dnsjit/files/patch-src_output_dnscli.c
Normal file
20
dns/dnsjit/files/patch-src_output_dnscli.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/output/dnscli.c.orig 2022-01-04 14:44:42 UTC
|
||||
+++ src/output/dnscli.c
|
||||
@@ -331,7 +331,7 @@ static void _receive_udp(output_dnscli_t* self, const
|
||||
self->errs++;
|
||||
}
|
||||
|
||||
-inline ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
|
||||
+ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
|
||||
{
|
||||
ssize_t n;
|
||||
|
||||
@@ -432,7 +432,7 @@ static void _receive_tcp(output_dnscli_t* self, const
|
||||
self->errs++;
|
||||
}
|
||||
|
||||
-inline ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
|
||||
+ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent)
|
||||
{
|
||||
ssize_t n;
|
||||
|
Loading…
Reference in New Issue
Block a user