FreeBSD Bugzilla – Attachment 246449 Details for
Bug 275217
net/dhcpd: Add ipv6-only-preferred option per RFC 8925
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch which implements RFC 8925
ipv6-only-preferred.diff (text/plain), 1.41 KB, created by
Mallory
on 2023-11-20 16:12:17 UTC
(
hide
)
Description:
Patch which implements RFC 8925
Filename:
MIME Type:
Creator:
Mallory
Created:
2023-11-20 16:12:17 UTC
Size:
1.41 KB
patch
obsolete
>diff --git net/dhcpd/files/patch-dhcp-options.5 net/dhcpd/files/patch-dhcp-options.5 >new file mode 100644 >index 000000000000..03ca38af4016 >--- /dev/null >+++ net/dhcpd/files/patch-dhcp-options.5 >@@ -0,0 +1,13 @@ >+--- dhcp-options.5.orig 2020-04-13 17:07:01 UTC >++++ dhcp-options.5 >+@@ -346,6 +346,10 @@ This option specifies whether the client should config >+ for packet forwarding. >+ A value of 0 means disable IP forwarding, and a value of 1 means enable >+ IP forwarding. >++.It Ic option ipv6-only-preferred Ar uint32 ; >++The number of seconds for which an IPv6-only-capable client should disable >++DHCPv4. >++See RFC 8925 for details. >+ .It Ic option irc-server Ar ip-address Oo , Ar ip-address ... Oc ; >+ The >+ .Ic irc-server >diff --git net/dhcpd/files/patch-tables.c net/dhcpd/files/patch-tables.c >new file mode 100644 >index 000000000000..3195ef2f11db >--- /dev/null >+++ net/dhcpd/files/patch-tables.c >@@ -0,0 +1,11 @@ >+--- tables.c.orig 2023-11-20 14:12:38 UTC >++++ tables.c >+@@ -184,7 +184,7 @@ struct option dhcp_options[256] = { >+ { "option-105", "X", &dhcp_universe, 105 }, >+ { "option-106", "X", &dhcp_universe, 106 }, >+ { "option-107", "X", &dhcp_universe, 107 }, >+- { "option-108", "X", &dhcp_universe, 108 }, >++ { "ipv6-only-preferred", "L", &dhcp_universe, 108 }, >+ { "option-109", "X", &dhcp_universe, 109 }, >+ { "option-110", "X", &dhcp_universe, 110 }, >+ { "option-111", "X", &dhcp_universe, 111 },
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 275217
: 246449