A Libyan commercial flight from Egypt bound for Tripoli had to divert to the western Libyan city of Misrata, the airport said on Wednesday.