Typos in functions {add,remove}IPv{4,6}addresse*s*

Function-name typos,comment typos,trailing whitespace. For clarity function-name changes are in a separate commit from the comments/whitespace changes.