| 931 | 931 | if (enableIPv6 === 'auto') { |
| 932 | 932 | useIPv6 = hasIPv6; |
| 933 | 933 | if (useIPv6) { |
| 934 | 934 | console.log(color.green('IPv6 support detected')); |
| 935 | 935 | } |
| 936 | + } else if (hasIPv6) { |
| 937 | + console.log('IPv6 support detected'); |
| 936 | 938 | } |
| 937 | 939 | |
| 938 | 940 | if (enableIPv4 === 'auto') { |
| 939 | 941 | useIPv4 = hasIPv4; |
| 940 | 942 | if (useIPv4) { |
| 941 | 943 | console.log(color.green('IPv4 support detected')); |
| 942 | 944 | } |
| 945 | + } else if (hasIPv4) { |
| 946 | + console.log('IPv4 support detected'); |
| 943 | 947 | } |
| 944 | 948 | |
| 945 | 949 | if (enableIPv6 === 'auto' && enableIPv4 === 'auto') { |