Files
goreplay/capture
Dima GolomozyandGitHub 02a0904651 capture nics (#1000)
1. move the `isDevice(l.host, pi)` to be first, as no need to iterate on all nics if it returns `true`
2. first compare by name, as same nics will have same names
3. if not found by name, compare by ips.

the bug was the `strings.HasPrefix`
2 different nics with ipv6:
```
#nic1 ip: f1234::55
#nic2 ip: f1234::55::66::66
```

so because of the `strings.HasPrefix` it was evaluated as the name nics. but they are not.
2021-08-19 20:43:26 +03:00
..
2021-08-16 19:23:54 +03:00
2021-08-19 20:43:26 +03:00
2021-06-09 18:08:11 +03:00
2021-06-09 18:08:11 +03:00