Skip to content

Commit

Permalink
net/slirp.c: Fix spelling error in error message
Browse files Browse the repository at this point in the history
DNS should be DHCP

Signed-off-by: Doug Evans <dje@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Message-Id: <20210122004251.843837-1-dje@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
  • Loading branch information
xdje42 authored and vivier committed Jan 29, 2021
1 parent 5fa6ab7 commit 0c373c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/slirp.c
Expand Up @@ -473,7 +473,7 @@ static int net_slirp_init(NetClientState *peer, const char *model,
return -1;
}
if (dhcp.s_addr == host.s_addr || dhcp.s_addr == dns.s_addr) {
error_setg(errp, "DNS must be different from host and DNS");
error_setg(errp, "DHCP must be different from host and DNS");
return -1;
}

Expand Down

0 comments on commit 0c373c0

Please sign in to comment.