mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-01 05:52:30 +01:00
In an ipv6-only slaac setup, there is no DHCP server to provide DNS servers to use. rdnssd, part of ndisc6[0] is a userspace program that collects this information from router advertisements and updates resolv.conf. By having this in main, this can be available in the base setup, so that Alpine Linux can be installed in an IPV6-only setup. [0]: https://www.remlab.net/ndisc6/
18 lines
392 B
Diff
18 lines
392 B
Diff
Reason: Without _GNU_SOURCE, tcphdr is not defined and leads to build errors
|
|
Upstream: no
|
|
|
|
diff --git a/src/trace-tcp.c b/src/trace-tcp.c.new
|
|
index 5aba9d4d2d..1bcc40cdb1 100644
|
|
--- a/src/trace-tcp.c
|
|
+++ b/src/trace-tcp.c.new
|
|
@@ -21,9 +21,6 @@
|
|
# include <config.h>
|
|
#endif
|
|
|
|
-#undef _GNU_SOURCE
|
|
-#define _DEFAULT_SOURCE 1
|
|
-
|
|
#include <string.h>
|
|
#include <inttypes.h>
|
|
#include <stdalign.h>
|