Fixed Network card initialization in the WIN32 Settings dialog.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user