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

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