Implementation detail: IPv4 would be inside its own if/end block while IPv6 would be inside its own if/end block.