Merge "Add a function to replace all the link addresses." into klp-dev