Blame SOURCES/dnsmasq-2.86-dhcpv6-client-arch.patch

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