Fixing debian_ip.py per #14530.
Merge pull request #14541 from garethgreenaway/14530_ipv6_only_broken

Fixing debian_ip.py per #14530.