set inVlan boolean correctly