29 lines
933 B
Diff
29 lines
933 B
Diff
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
|
|
|