mac addres check from opensource repo