Message ID | 20210122004251.843837-1-dje@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | net/slirp.c: Fix spelling error in error message | expand |
Doug Evans, le jeu. 21 janv. 2021 16:42:51 -0800, a ecrit: > DNS should be DHCP > > Signed-off-by: Doug Evans <dje@google.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> > --- > net/slirp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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; > } > > -- > 2.30.0.280.ga3ce27912f-goog >
On 1/22/21 1:42 AM, dje--- via wrote: > DNS should be DHCP > > Signed-off-by: Doug Evans <dje@google.com> > --- > net/slirp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Le 25/01/2021 à 17:08, Philippe Mathieu-Daudé a écrit : > On 1/22/21 1:42 AM, dje--- via wrote: >> DNS should be DHCP >> >> Signed-off-by: Doug Evans <dje@google.com> >> --- >> net/slirp.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> > > Applied to my trivial-patches branch. Thanks, Laurent
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; }
DNS should be DHCP Signed-off-by: Doug Evans <dje@google.com> --- net/slirp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)