(t *testing.T, mapping *ipMapping, localIP net.IP)
| 858 | } |
| 859 | |
| 860 | func requireFirstMappingIP(t *testing.T, mapping *ipMapping, localIP net.IP) net.IP { |
| 861 | t.Helper() |
| 862 | |
| 863 | ips := mapping.findExternalIPs(localIP) |
| 864 | require.NotEmpty(t, ips) |
| 865 | |
| 866 | return ips[0] |
| 867 | } |
| 868 | |
| 869 | func TestWith1To1RulesOption(t *testing.T) { |
| 870 | stub := newStubNet(t) |
no test coverage detected
searching dependent graphs…