From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 24 Sep 2013 20:09:13 +0800 Message-ID: <1750733.3MepXfCQX9@diderot> In-Reply-To: <1379860946-32669-2-git-send-email-sven@narfation.org> References: <1379860946-32669-1-git-send-email-sven@narfation.org> <1379860946-32669-2-git-send-email-sven@narfation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [B.A.T.M.A.N.] [PATCH 2/4] batctl: Reduce IPv4 focus of mac resolve functions Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: b.a.t.m.a.n@lists.open-mesh.org Cc: Sven Eckelmann On Sunday 22 September 2013 16:42:24 Sven Eckelmann wrote: > The first implementation of the IP translation functions in > cb75e019e74fc11f9547dadd51abbf3c9df2c5e7 ("batctl: Allow to use IPv4 > addresses for ping/traceroute") had is focus on implementing it only for > IPv4. This is a limitation when other layer 3 protocols are used. > > For example, a port to IPv6 would either have to copy the functionality or > do a major refactoring when implementing the it resolv functionality. This > is not necessary when the functions already expect different layer 3 > protocols in the first place and make it easy to find the right place to > modify them. > > Signed-off-by: Sven Eckelmann > --- > functions.c | 86 > ++++++++++++++++++++++++++++++++++++++++++++----------------- 1 file > changed, 63 insertions(+), 23 deletions(-) Applied in revision daf6aa6. Thanks, Marek