spacemeowx2 / switch-lan-play

Enjoy games with your friends as if you were on a LAN.
GNU General Public License v3.0
1.81k stars 190 forks source link

interface not specified, opening all interfaces #129

Closed RALazuardi closed 2 years ago

RALazuardi commented 2 years ago

Interface not specified, opening all interfaces [DEBUG]: open \Device\NPF{8E1E93B7-F99B-4F74-B42E-92548D172BE3} fail: get mac [DEBUG]: open \Device\NPF{FFB86692-C16E-4C28-B9DD-4814FCC91F33} fail: get mac [DEBUG]: open \Device\NPF{4DFD3F8A-208A-4D93-843A-69877CF25B35} ok [DEBUG]: open \Device\NPF{B2938EC9-A95C-4DAE-89E6-636C0370F291} fail: get mac [DEBUG]: open \Device\NPF{15412BE4-1562-435E-9375-40452ABBA724} ok [DEBUG]: open \Device\NPF{EEFFE4CF-73F6-4BA8-9CFE-D7E5B5037562} ok [DEBUG]: open \Device\NPFLoopback fail: datalink(0) [DEBUG]: open \Device\NPF{482A7D64-0556-44B0-B737-1E90CA2686BB} ok

here the text on the cmd/lanplaywin64.exe

jpoep commented 2 years ago

This is not a bug. If you specify your interface using the --netif flag (e.g. lan-play --netif enp3s0), it only opens the interface you need. I don't know how Windows interfaces work, so in your case it would probably be something like lan-play --netif "\Device\NPF_{4DFD3F8A-208A-4D93-843A-69877CF25B35}". In practice, you don't need to worry about this, though.

RALazuardi commented 2 years ago

Ok, thank you for the information