On 2017/07/27 20:23, Florian Obser wrote:
> On Thu, Jul 27, 2017 at 09:11:21PM +0100, Stuart Henderson wrote:
> > On 2017/07/27 21:36, Paul de Weerd wrote:
> > > I'm actively using (and enjoying) the fruit of Rafael's work on his
> > > multicast proxy daemon (see [1] for details).  Although I still
> > > believe it would be beneficial to have code exercising the kernel's
> > > multicast bits in base, that doesn't seem to be in the stars (at this
> > > moment).  So, with Rafael's permission, I'm presenting a port of his
> > > work.
> > 
> > rc script needs ${TRUEPREFIX} in "daemon".
> > 
> > There are several warnings in build:
> > 
> > cc -O2 -pipe -I/usr/obj/ports/mcast-proxy-1.0/mcast-proxy-1.0 -Wall -Wextra 
> > -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
> > -Wpointer-arith -Wsign-compare  -MD -MP  -nostdinc -idirafter /usr/include 
> > -c mcast-proxy.c
> > mcast-proxy.c:662:30: warning: taking address of packed member 'ip6_dst' of 
> > class or structure 'ip6_hdr' may result in an unaligned pointer value 
> > [-Waddress-of-packed-member]
> >         if (!IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) {
> >                                     ^~~~~~~~~~~~
> 
> We have similar warnings in base in rtadvd(8). This is no actually a
> problem since the member is correctly aligned. Sometimes clang figures
> this out, sometimes not. I'm still contemplating what to do about it
> in rtadvd(8).

Thanks. Considering this, OK sthen@ with the fixed rc.d script.

Reply via email to