zhanghongyu
a2097cfb71
net: modify find device logic
...
The priorities for finding a network adapter are as follows:
1. if laddr is not ANY, use laddr to find device;
2. if laddr is ANY, and bound index is not 0, use bound index
to find device;
3. if laddr is ANY and no device is bound, use raddr to find
device.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2023-02-12 01:25:34 +08:00
..
2023-01-18 16:24:09 +08:00
2023-01-31 11:15:01 +08:00
2023-01-15 12:31:30 -03:00
2023-01-30 11:25:10 +08:00
2022-09-26 08:04:58 +02:00
2023-01-18 16:24:09 +08:00
2023-01-30 11:25:36 +08:00
2023-01-30 11:25:36 +08:00
2023-02-02 13:31:06 +08:00
2023-01-30 11:25:10 +08:00
2022-08-26 20:58:11 +08:00
2023-02-12 01:25:34 +08:00
2022-05-18 18:40:41 +03:00
2023-02-03 13:43:39 +02:00
2022-09-06 22:46:37 +08:00
2023-01-30 11:25:10 +08:00
2022-03-12 19:24:17 +02:00
2022-11-24 22:57:42 +08:00
2023-01-28 23:27:14 +02:00
2022-05-14 00:35:29 +03:00
2023-01-15 12:31:30 -03:00
2023-01-18 16:24:09 +08:00
2023-02-02 13:31:06 +08:00
2023-01-30 11:25:10 +08:00
2023-01-30 11:25:10 +08:00
2023-02-02 10:33:01 +08:00
2022-11-13 09:09:36 +08:00
2022-05-28 16:29:51 +08:00
2023-01-31 11:15:01 +08:00
2023-01-30 11:25:10 +08:00
2023-01-15 12:31:30 -03:00
2023-01-15 12:31:30 -03:00
2023-01-31 11:15:01 +08:00