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