[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] net/slirp: fix the IPv6 prefix length error

From: Jason Wang
Subject: Re: [Qemu-devel] [PATCH v2] net/slirp: fix the IPv6 prefix length error message
Date: Fri, 17 May 2019 16:28:59 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 2019/5/15 下午5:08, Stefano Garzarella wrote:
Reword and add a missing parentheses at the end of the
error message.

Signed-off-by: Stefano Garzarella <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
   - Reworded the error message (Markus)
   - Added Marc-André's R-b
     I made a little change to the error message, let me now
     if I should remove yuor R-b.
  net/slirp.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

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 
      if (vprefix6_len < 0 || vprefix6_len > 126) {
-                   "Invalid prefix provided (prefix len must be in range 
+                   "Invalid IPv6 prefix provided "
+                   "(IPv6 prefix length must be between 0 and 126)");
          return -1;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]