This PR add logic when passing -l flag with command line on linux/darwin:
./albiondata-client -debug -l "enp6s0,notexist"
❯ ./albiondata-client -debug -l "enp6s0,notexist"
INFO[2024-06-29T13:38:05+02:00] Starting Albion Data Client, version:
INFO[2024-06-29T13:38:05+02:00] This is a third-party application and is in no way affiliated with Sandbox Interactive or Albion Online.
INFO[2024-06-29T13:38:05+02:00] Additional parameters can listed by calling this file with the -h parameter.
INFO[2024-06-29T13:38:05+02:00] Watching Albion
DEBU[2024-06-29T13:38:05+02:00] Interface with name: notexist not found, removing from list ...
DEBU[2024-06-29T13:38:05+02:00] Will listen to these devices: [enp6s0]
DEBU[2024-06-29T13:38:05+02:00] Starting listener (online: enp6s0:5056)
[...]
Tested on Linux 6.9.1-arch1-2, not tested on darwin
This PR add logic when passing
-l
flag with command line on linux/darwin:./albiondata-client -debug -l "enp6s0,notexist"
Tested on
Linux 6.9.1-arch1-2
, not tested on darwin