diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:32:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:32:41 +0000 |
commit | d7eedadf5fa5ae575611716086233fd44c457ed5 (patch) | |
tree | 237c8d405454c030b6b8ed34178641ae857ad3c6 /dnsmasq-2.86-dhcpv6-client-arch.patch | |
parent | 562bbcdc136998f630c837bc87a92e8fd6fe2295 (diff) |
automatic import of dnsmasqopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'dnsmasq-2.86-dhcpv6-client-arch.patch')
-rw-r--r-- | dnsmasq-2.86-dhcpv6-client-arch.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dnsmasq-2.86-dhcpv6-client-arch.patch b/dnsmasq-2.86-dhcpv6-client-arch.patch new file mode 100644 index 0000000..5177207 --- /dev/null +++ b/dnsmasq-2.86-dhcpv6-client-arch.patch @@ -0,0 +1,28 @@ +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 + |