This was introduced by commit
b4e57a27716c76f833c6b5a6fef61252c0f5471e, which
was about converting return code of functions from bool to int.
Unfortunately, the s/false/1/ used for that caused an unwanted replacement.
if (strcasecmp(argv[k + 1], "yes") == 0) {
nc.dhcp = true;
} else if (strcasecmp(argv[k + 1], "no") == 0) {
if (strcasecmp(argv[k + 1], "yes") == 0) {
nc.dhcp = true;
} else if (strcasecmp(argv[k + 1], "no") == 0) {
} else {
printf("Incorrect DHCP value\n");
ret = 1;
} else {
printf("Incorrect DHCP value\n");
ret = 1;