ports/net/ndisc6/files/patch-rdnss_rdnssd.h
Tobias Kortkamp f2573c3d52 net/ndisc6: Update to 1.0.4
ndisc6 1.0.4 now requires a C11-capable compiler and no longer needs
the 'variable length array in structure' GCC extension.  As such
we can build it with Clang now.  This also removes the GCC run
dependency which was the initial request in the PR [1].

Changes:	http://git.remlab.net/gitweb/?p=ndisc6.git;a=blob_plain;f=NEWS;hb=81bdcb51b576a394ba01f5a8022e5b9354e431a6
PR:		233187
Reported by:	hashiz@meridiani.jp [1]
Submitted by:	tobik
Approved by:	m.tsatsenko@gmail.com (maintainer)
MFH:		2019Q1 (bug fixes and fewer run dependencies)
2019-01-20 21:43:57 +00:00

27 lines
636 B
C

--- rdnss/rdnssd.h.orig 2016-12-07 18:11:55 UTC
+++ rdnss/rdnssd.h
@@ -32,24 +32,6 @@ extern const rdnss_src_t rdnss_netlink, rdnss_icmp;
#define ND_OPT_RDNSS 25
#define ND_OPT_DNSSL 31
-struct nd_opt_rdnss
-{
- uint8_t nd_opt_rdnss_type;
- uint8_t nd_opt_rdnss_len;
- uint16_t nd_opt_rdnss_reserved;
- uint32_t nd_opt_rdnss_lifetime;
- /* followed by one or more IPv6 addresses */
-};
-
-struct nd_opt_dnssl
-{
- uint8_t nd_opt_dnssl_type;
- uint8_t nd_opt_dnssl_len;
- uint16_t nd_opt_dnssl_reserved;
- uint32_t nd_opt_dnssl_lifetime;
- /* followed by one or more domain names */
-};
-
# ifdef __cplusplus
extern "C" {
# endif