From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7O12-0005QZ-CR for qemu-devel@nongnu.org; Fri, 11 Dec 2015 08:45:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7O0x-0001s2-9S for qemu-devel@nongnu.org; Fri, 11 Dec 2015 08:45:44 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:51959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7O0x-0001rv-26 for qemu-devel@nongnu.org; Fri, 11 Dec 2015 08:45:39 -0500 Date: Fri, 11 Dec 2015 14:45:37 +0100 From: Samuel Thibault Message-ID: <20151211134537.GB2927@var.bordeaux.inria.fr> References: <20151211001505.GV2905@var.home> <1449792930-27293-1-git-send-email-samuel.thibault@ens-lyon.org> <1449792930-27293-2-git-send-email-samuel.thibault@ens-lyon.org> <566AD1E4.1050403@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <566AD1E4.1050403@redhat.com> Subject: Re: [Qemu-devel] [PATCH 02/18] slirp: Generalizing and neutralizing code before adding IPv6 stuff List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth Cc: zhanghailiang , Li Zhijian , Stefan Hajnoczi , Jason Wang , qemu-devel@nongnu.org, Vasiliy Tolstov , Dave Gilbert , Gonglei , Jan Kiszka , Huangpeng , Yang Hongyang , Guillaume Subiron Thomas Huth, on Fri 11 Dec 2015 14:38:44 +0100, wrote: > > + switch (iph->ip_v) { > > + case IPVERSION: > > if (iph->ip_dst.s_addr == 0) { > > /* 0.0.0.0 can not be a destination address, something went wrong, > > * avoid making it worse */ > > That indentation looks now broken - shouldn't the if-statement now be > indented with four more spaces now? Please see the patch summary: I was asked to provided a non-reindented patch and then a reindent patch. > Also, I'd prefer if you could split this patch into two: One for > renaming the "arp_requested" field, and one for adding the additional > logic with the switch statement (since there are two different kind of > changes). TBH I'm starting to again lose motivation. Samuel