On Fri, 23 Dec 2016 18:07:07 +0100 Willy Tarreau <[email protected]> wrote:
> On Fri, Dec 23, 2016 at 05:54:47PM +0100, [email protected] wrote: > > Thanks ! Willy, can you apply the patch ? > > Done, thanks guys. > > However Thierry my previous question still stands : what *real* type of test > is this supposed to validate ? Because in my opinion this test consisting in > matching that two networks are part of each other only validates that they > are equal, or certain random cases where the smallest one happens to have > zeroes where it matches the other one. It is a comparaison of two networks. One of the network can be condsidered as an IP (/32). The function returns true if one of the network contains the other. Thierry > > Do you have a concrete example of its use case ? > > Thanks, > Willy

