aboutgitcodebugslistschat
path: root/dhcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp.c')
-rw-r--r--dhcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dhcp.c b/dhcp.c
index 7deced1..5c74604 100644
--- a/dhcp.c
+++ b/dhcp.c
@@ -225,9 +225,8 @@ static void opt_set_dns_search(struct ctx *c, size_t max_len)
buf[n++] = '\xc0';
buf[n++] = dup;
break;
- } else {
- buf[n++] = '.';
}
+ buf[n++] = '.';
} else {
buf[n++] = *p;
}