| 6 | #include <algorithm> |
| 7 | |
| 8 | static int IndexFromNetType(int NetType) |
| 9 | { |
| 10 | switch(NetType) |
| 11 | { |
| 12 | case NETTYPE_IPV6: |
| 13 | return 0; |
| 14 | case NETTYPE_IPV4: |
| 15 | return 1; |
| 16 | } |
| 17 | return -1; |
| 18 | } |
| 19 | |
| 20 | static const char *IndexToSystem(int Index) |
| 21 | { |
no outgoing calls
no test coverage detected