Cleanups of ipv6 changes.

I was late re-reviewing and some comments did not get resolved.
Merge pull request #2417 from thockin/ipalloc

Cleanups of ipv6 changes.