rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / network / dnsmasq / patches / 05_dump_fix.patch
blobcc84ef43d57f85fc797414837d17e9a832af1cf3
1 --- dnsmasq-2.89/src/dump.c.orig 2023-02-02 21:24:24.000000000 +0100
2 +++ dnsmasq-2.89/src/dump.c 2023-07-22 14:27:10.140391206 +0200
3 @@ -20,6 +20,13 @@
5 #include <netinet/icmp6.h>
7 +#ifdef __sun
8 + /* To find out th correct value for OpenIndiana use "pfexec ndd /dev/icmp icmp_ipv4_ttl" */
9 + #define IPDEFTTL 255
10 +#else
11 +#define IPDEFTTL 64 /* default ttl, RFC 1122, RFC 1340 */
12 +#endif
14 static u32 packet_count;
15 static void do_dump_packet(int mask, void *packet, size_t len,
16 union mysockaddr *src, union mysockaddr *dst, int port, int proto);