summaryrefslogtreecommitdiff
path: root/dnsmasq-2.86-dhcpv6-client-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dnsmasq-2.86-dhcpv6-client-arch.patch')
-rw-r--r--dnsmasq-2.86-dhcpv6-client-arch.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dnsmasq-2.86-dhcpv6-client-arch.patch b/dnsmasq-2.86-dhcpv6-client-arch.patch
new file mode 100644
index 0000000..5177207
--- /dev/null
+++ b/dnsmasq-2.86-dhcpv6-client-arch.patch
@@ -0,0 +1,28 @@
+From 4272580bb586180e596e5ed30b68455826acc8c1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
+Date: Wed, 22 Sep 2021 14:54:01 +0200
+Subject: [PATCH] Add support for option6 names of RFC 5970
+
+Client Network Interface Identifier and Client System Architecture Type
+options were not understood by dnsmasq. Add it to supported option
+types.
+---
+ src/dhcp-common.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/dhcp-common.c b/src/dhcp-common.c
+index 36bc38a..528e8e7 100644
+--- a/src/dhcp-common.c
++++ b/src/dhcp-common.c
+@@ -659,6 +659,8 @@ static const struct opttab_t opttab6[] = {
+ { "ntp-server", 56, 0 /* OT_ADDR_LIST | OT_RFC1035_NAME */ },
+ { "bootfile-url", 59, OT_NAME },
+ { "bootfile-param", 60, OT_CSTRING },
++ { "client-arch", 61, 2 | OT_DEC }, /* RFC 5970 */
++ { "client-interface-id", 62, 1 | OT_DEC }, /* RFC 5970 */
+ { NULL, 0, 0 }
+ };
+ #endif
+--
+2.31.1
+