mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-18 03:54:19 +01:00
DEV9: Correctly populate DNS2 field with DNS2 IP
This commit is contained in:
1 parent
7efa96c732
commit
f28bfa4ad1
1 file changed
+2
-2
@@ -98,7 +98,7 @@ void AutoDNS1Changed(HWND hW)
|
||||
|
||||
void AutoDNS2Changed(HWND hW)
|
||||
{
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_DNS2), !Button_GetCheck(GetDlgItem(hW, IDC_CHECK_DNS2)), config.DNS1);
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_DNS2), !Button_GetCheck(GetDlgItem(hW, IDC_CHECK_DNS2)), config.DNS2);
|
||||
}
|
||||
|
||||
void InterceptChanged(HWND hW)
|
||||
@@ -141,7 +141,7 @@ void InterceptChanged(HWND hW)
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_SUBNET), false, config.Mask);
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_GATEWAY), false, config.Gateway);
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_DNS1), false, config.DNS1);
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_DNS2), false, config.DNS1);
|
||||
IPControl_Enable(GetDlgItem(hW, IDC_IPADDRESS_DNS2), false, config.DNS2);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user