From 5e53f444a99aa5d82dc33ac357acea9e5af9d76a Mon Sep 17 00:00:00 2001 From: Nico <github@nicoboehr.de> Date: Fri, 29 Dec 2023 23:18:22 +0000 Subject: [PATCH] add patch to announce prefix with preferred lifetime 0 --- ...nce-prefix-with-preferred-lifetime-0.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patches/packages/packages/0003-uradvd-add-patch-to-announce-prefix-with-preferred-lifetime-0.patch diff --git a/patches/packages/packages/0003-uradvd-add-patch-to-announce-prefix-with-preferred-lifetime-0.patch b/patches/packages/packages/0003-uradvd-add-patch-to-announce-prefix-with-preferred-lifetime-0.patch new file mode 100644 index 000000000..62e2aeae2 --- /dev/null +++ b/patches/packages/packages/0003-uradvd-add-patch-to-announce-prefix-with-preferred-lifetime-0.patch @@ -0,0 +1,21 @@ +From: Nico <github@nicoboehr.de> +Date: Fri, 29 Dec 2023 23:17:27 +0000 +Subject: uradvd: add patch to announce prefix with preferred lifetime 0 + +diff --git a/net/uradvd/patches/001-uradvd-announce-with-pref-0.patch b/net/uradvd/patches/001-uradvd-announce-with-pref-0.patch +new file mode 100644 +index 0000000000000000000000000000000000000000..7882639d1bfec0923460c93f55fe9f44e58212c1 +--- /dev/null ++++ b/net/uradvd/patches/001-uradvd-announce-with-pref-0.patch +@@ -0,0 +1,11 @@ ++--- a/uradvd.c +++++ b/uradvd.c ++@@ -43,7 +43,7 @@ ++ ++ /* These are in seconds */ ++ #define AdvValidLifetime 86400u ++-#define AdvPreferredLifetime 14400u +++#define AdvPreferredLifetime 0u ++ #define AdvDefaultLifetime 0u ++ #define AdvCurHopLimit 64u ++ #define AdvRDNSSLifetime 1200u -- GitLab