Fix ipv4 in ipv6

Updated, refactored and rebased https://github.com/yast/yast-yast2/pull/108