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