aboutsummaryrefslogtreecommitdiff
path: root/net/slirp.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2021-01-21 16:42:51 -0800
committerLaurent Vivier <laurent@vivier.eu>2021-01-29 09:31:40 +0100
commit0c373c017808764630cdfa52018bc1cfbe8ad8db (patch)
tree88d3e380b8bc50334c10bb1b07c5feb2f6bba171 /net/slirp.c
parent5fa6ab7ecc54fe5f9bbd971496c78a5b014103b3 (diff)
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>
Diffstat (limited to 'net/slirp.c')
-rw-r--r--net/slirp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/slirp.c b/net/slirp.c
index 8350c6d45f..be914c0be0 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -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;
}