Skip to content
Snippets Groups Projects
Commit 9ed3337e authored by Nico's avatar Nico Committed by FFS Buildbot
Browse files

fix uradvd build

parent 8d5b708f
No related branches found
Tags experimental-2025-03-07-base
No related merge requests found
......@@ -4,18 +4,18 @@ 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..3a848d9cb9a09e8b3c253b7945933425020865d3
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
+@@ -44,7 +44,7 @@
+@@ -43,7 +43,7 @@
+
+ /* These are in seconds */
+ #define AdvValidLifetime 86400u
+ #define AdvPreferredLifetime 0u
+-#define AdvDefaultLifetime 14400u
++#define AdvDefaultLifetime 0u
+-#define AdvPreferredLifetime 14400u
++#define AdvPreferredLifetime 0u
+ #define AdvDefaultLifetime 0u
+ #define AdvCurHopLimit 64u
+ #define AdvRDNSSLifetime 1200u
+
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment