[PATCH] Replace if_tap check with pf check