mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 11:23:43 +08:00
net/slirp.c: Fix spelling error in error message
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>
This commit is contained in:
parent
5fa6ab7ecc
commit
0c373c0178
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user