> > diff --git a/compat.h b/compat.h
> > index 35e3dbd..9871a23 100644
> > --- a/compat.h
> > +++ b/compat.h
> > @@ -59,8 +59,6 @@
> > 
> >  #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36)
> > 
> > -#define IFF_BRIDGE_PORT  0 || (hard_iface->net_dev->br_port ? 1 : 0)
> > -
> > 
> >  /* hack for dev->addr_assign_type &= ~NET_ADDR_RANDOM; */
> >  #define addr_assign_type ifindex
> 
> The macro is used in compat.h line 55, is it not ?

IFF_BRIDGE_PORT appears in this line but here is the context:


#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 36)

HERE IT IS *NOT* USED

#elif LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0)

HERE IT IS USED

#endif /* < KERNEL_VERSION(2, 6, 36) */


The IFF_BRIDGE_PORT (which I call unused( is only required in this other 
compat hack when the kernel is >= 2.6.36 and < 3.9.0. But the one I want to 
remove is only for kernels < 2.6.36.

Kind regards,
        Sven

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to