summaryrefslogtreecommitdiff
path: root/net/amnezia-tools/files/patch-containers.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/amnezia-tools/files/patch-containers.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/amnezia-tools/files/patch-containers.h b/net/amnezia-tools/files/patch-containers.h
new file mode 100644
index 000000000000..88563f74058a
--- /dev/null
+++ b/net/amnezia-tools/files/patch-containers.h
@@ -0,0 +1,21 @@
+--- containers.h.orig 2024-10-01 13:02:42 UTC
++++ containers.h
+@@ -29,6 +29,10 @@ struct timespec64 {
+ int64_t tv_nsec;
+ };
+
++enum {
++ WGALLOWEDIP_REMOVE_ME = 1U << 0,
++};
++
+ struct wgallowedip {
+ uint16_t family;
+ union {
+@@ -36,6 +40,7 @@ struct wgallowedip {
+ struct in6_addr ip6;
+ };
+ uint8_t cidr;
++ uint32_t flags;
+ struct wgallowedip *next_allowedip;
+ };
+