aboutsummaryrefslogtreecommitdiffstats
path: root/core/fs/pxe/dhcp_option.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/fs/pxe/dhcp_option.c')
-rw-r--r--core/fs/pxe/dhcp_option.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/fs/pxe/dhcp_option.c b/core/fs/pxe/dhcp_option.c
index 50f2de04..47031faf 100644
--- a/core/fs/pxe/dhcp_option.c
+++ b/core/fs/pxe/dhcp_option.c
@@ -48,13 +48,8 @@ static void dns_servers(const void *data, int opt_len)
static void local_domain(const void *data, int opt_len)
{
- char buffer[256];
- char *ld = LocalDomain;
-
- memcpy(buffer, data, opt_len);
- buffer[opt_len] = 0;
-
- dns_mangle(&ld, buffer);
+ memcpy(LocalDomain, data, opt_len);
+ LocalDomain[opt_len] = 0;
}
static void vendor_encaps(const void *data, int opt_len)