}
rp = pool_elt_at_index (sm->stats_registrations, p[0]);
- if (!rp->stats_registrations & INTERFACE_COMBINED_COUNTERS) // Client but doesn't want this.
+ if (!(rp->stats_registrations & INTERFACE_COMBINED_COUNTERS)) // Client but doesn't want this.
{
clib_warning
("pid %d: already disabled for interface COMBINED stats...",
}
rp = pool_elt_at_index (sm->stats_registrations, p[0]);
- if (!rp->stats_registrations & IP4_FIB_COUNTERS) // Client but doesn't want this.
+ if (!(rp->stats_registrations & IP4_FIB_COUNTERS)) // Client but doesn't want this.
{
clib_warning ("pid %d: already disabled for interface ip4 fib...",
mp->pid);
}
rp = pool_elt_at_index (sm->stats_registrations, p[0]);
- if (!rp->stats_registrations & IP6_FIB_COUNTERS) // Client but doesn't want this.
+ if (!(rp->stats_registrations & IP6_FIB_COUNTERS)) // Client but doesn't want this.
{
clib_warning ("pid %d: already disabled for interface ip6 fib...",
mp->pid);