I've tested the following patch, which tests for IPv6 support, on both a system without IPv6 and another with it, but I have not tested on a system with shepherd < 0.9.1. Hopefuly it works as expected. Cheers!