From: Stefano Garzarella Date: Wed, 15 May 2019 09:08:05 +0000 (+0200) Subject: net/slirp: fix the IPv6 prefix length error message X-Git-Tag: qemu-xen-4.13.0-rc1~178^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=178a0a5dea382ac13bc2cdd3c9c4c5728a40b06b;p=qemu-xen.git net/slirp: fix the IPv6 prefix length error message Reword and add a missing parentheses at the end of the error message. Signed-off-by: Stefano Garzarella Reviewed-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Signed-off-by: Jason Wang --- diff --git a/net/slirp.c b/net/slirp.c index 95934fb36d..b34cb29276 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -498,7 +498,8 @@ static int net_slirp_init(NetClientState *peer, const char *model, } if (vprefix6_len < 0 || vprefix6_len > 126) { error_setg(errp, - "Invalid prefix provided (prefix len must be in range 0-126"); + "Invalid IPv6 prefix provided " + "(IPv6 prefix length must be between 0 and 126)"); return -1; }