Fix bug when creating UDP vpns.