It's not corruption, it's basic resource allocation. Why would we want to dedicate equal amounts of manpower to both borders, when only one of them accounts for the overwhelming majority of unlawful crossings?
Soviet Union used the army to police immigration as well.