Set ip-version and ip-version checks for both v4 and v6 family