svn commit: r333968 - in head/sys: netinet netinet6
Matthew Macy
mmacy at freebsd.org
Tue May 22 07:35:34 UTC 2018
On Tue, May 22, 2018 at 00:33 Eitan Adler <lists at eitanadler.com> wrote:
> On 21 May 2018 at 01:34, Matt Macy <mmacy at freebsd.org> wrote:
> > Author: mmacy
> > Date: Mon May 21 08:34:10 2018
> > New Revision: 333968
> > URL: https://svnweb.freebsd.org/changeset/base/333968
> >
> > Log:
> > in(6)_mcast: Expand out vnet set / restore macro so that they work in
> a conditional block
>
> Why not simply add missing {} s or modifying the macro to use "do { }
> while(false)" ?
>
It declares variables which would go out of scope.
> --
> Eitan Adler
>
More information about the svn-src-head
mailing list