HomeFreeBSD

bridge: define VLANTAGOF correctly

Description

bridge: define VLANTAGOF correctly

to avoid strange precedence errors, enclose the macro body in
parentheses. this fixes constructs like: if (VLANTAGOF(m) == i)

Reviewed by: kp

Details

Provenance
ivyAuthored on Fri, Apr 4, 3:05 PM
kpCommitted on Thu, Apr 10, 4:51 PM
Parents
rGf6aedb956ef1: net/if_bridgevar.h: add include guard
Branches
Unknown
Tags
Unknown