Fixed the strcmp comparison and printing error in the exclude_interface function.