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

add patch to announce prefix with preferred lifetime 0

parent 5c3db88b
No related branches found
No related tags found
No related merge requests found
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..3a848d9cb9a09e8b3c253b7945933425020865d3
--- /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 @@
+ /* These are in seconds */
+ #define AdvValidLifetime 86400u
+ #define AdvPreferredLifetime 0u
+-#define AdvDefaultLifetime 14400u
++#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