Fixed Network card initialization in the WIN32 Settings dialog.

This commit is contained in:
OBattler
2023-02-04 00:30:36 +01:00
parent 77673bd0fd
commit 9398a59351

View File

@@ -561,7 +561,7 @@ win_settings_save(void)
fm_driver = temp_fm_driver;
/* Network category */
net_cards_conf[i].net_type = temp_net_type;
net_cards_conf[0].net_type = temp_net_type;
memset(net_cards_conf[0].host_dev_name, '\0', sizeof(net_cards_conf[0].host_dev_name));
strcpy(net_cards_conf[0].host_dev_name, temp_pcap_dev);
net_cards_conf[0].device_num = temp_net_card;