Fixup co_generate_ip

Fixup co_generate_ip.
Merge pull request #2 from hawkinswnaf/master

Fixup co_generate_ip.