The airlines can end this practice pretty quick by charging less for a direct flight to the connecting city than they do for a two-legged flight though it. We prohibited the railroads from doing this sort of thing back in 1887 with the Interstate Commerce Act.