gl-infra-builder-FUjr/files-wlan-ap-5.4/openwrt/package/network/services/dnsmasq/patches/300-remove-limit-hostname.patch
Jianhui Zhao 34774a1a41 ax1800/axt1800: add kernel 5.4 support
Signed-off-by: Jianhui Zhao <jianhui.zhao@gl-inet.com>
2022-05-24 16:39:22 +08:00

14 lines
433 B
Diff

Index: dnsmasq-2.85/src/rfc2131.c
===================================================================
--- dnsmasq-2.85.orig/src/rfc2131.c
+++ dnsmasq-2.85/src/rfc2131.c
@@ -724,7 +724,7 @@ size_t dhcp_reply(struct dhcp_context *c
borken_opt = 1;
else
daemon->dhcp_buff[len] = 0;
- if (legal_hostname(daemon->dhcp_buff))
+ // if (legal_hostname(daemon->dhcp_buff))
client_hostname = daemon->dhcp_buff;
}