On Tue, Nov 05, 2019 at 01:06:13PM -0500, Russell Bryant wrote:
> On Tue, Nov 5, 2019 at 12:38 PM Ben Pfaff <b...@ovn.org> wrote:
> 
> > On Tue, Nov 05, 2019 at 12:23:09PM -0500, Russell Bryant wrote:
> > > Duplicate all of the IPv4 load balancing test cases for IPv6.
> > > All of these are passing without any changes needed in OVN code, but
> > > this will help ensure that we do not have any IPv6 load balancing
> > > regressions in the future.
> > >
> > > Signed-off-by: Russell Bryant <russ...@ovn.org>
> >
> > > +#
> > > +# A note on square brackets and IPv6 ...
> > > +#
> > > +# To get square brackets to not get interpreted by m4, this file is
> > using:
> > > +#
> > > +# For [ --> @<:@
> > > +# For ] --> @:>@
> > > +#
> > > +#
> > https://stackoverflow.com/questions/2308721/how-do-i-escape-text-in-autoconf-m4
> >
> > You can usually get the same effect by just doubling the brackets,
> > i.e. [[::1]].  You can find some examples with "git grep -F '[[::'".  In
> > some cases you end up with three sets of brackets because of outer
> > quoting, e.g.:
> >
> > CHECK_STREAM_OPEN_BLOCK([tcp6], [[[::1]]])
> >
> 
> Thanks!  I'll give that a shot.  That would be a lot more readable than
> what I did ...

Yeah, the quadigraphs look terrible.  They're slightly better than C
trigraphs, but not a lot.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to