Fix interface check function for CoovaChilli