if dest_port = '' changed to if dest_port == ''