Fixed copy paste error. Now FORCE_PROXY_BYPASS works as expected.

smack4
Claas Beyersdorf 10 years ago
parent 229d611813
commit 695eec89e2

@ -1031,13 +1031,15 @@ private void filterByAddress(
while (iterPP.hasNext())
{
ProtocolProviderServiceSipImpl candidate = iterPP.next();
if(candidate.getAccountID()
.getAccountPropertyBoolean(
ProtocolProviderFactory.FORCE_PROXY_BYPASS, false))
boolean forceProxyBypass
= candidate.getAccountID()
.getAccountPropertyBoolean(
ProtocolProviderFactory.FORCE_PROXY_BYPASS, false);
if(forceProxyBypass)
{
// Proxy check is disabled all connections are ok (HA sipXecs, sipXcom, ...)
continue;
}
}
if(candidate.getRegistrarConnection() == null)
{
//RegistrarLess connections are ok

@ -129,8 +129,7 @@ public void actionPerformed(ActionEvent e)
}
});
proxyForceBypassCheckBox =
new SIPCommCheckBox(
proxyForceBypassCheckBox = new SIPCommCheckBox(
Resources.getString("plugin.sipaccregwizz.PROXY_FORCE_BYPASS"),
regform.getRegistration().isProxyForceBypassConfigure());
enablesProxyForceBypassConfigure(proxyForceBypassCheckBox.isSelected());
@ -861,7 +860,7 @@ void enablesProxyAutoConfigure(boolean isEnable)
*/
boolean isProxyForceBypassConfigureEnabled()
{
return proxyAutoCheckBox.isSelected();
return proxyForceBypassCheckBox.isSelected();
}
/**

@ -433,6 +433,7 @@ public void loadAccount(SIPAccountRegistration sipAccReg)
connectionPanel.setCertificateId(clientTlsCertificateId);
connectionPanel.enablesProxyAutoConfigure(proxyAutoConfigureEnabled);
connectionPanel.enablesProxyForceBypassConfigure(proxyForceBypassConfigureEnabled);
connectionPanel.setServerPort(serverPort);
connectionPanel.setProxy(proxyAddress);

Loading…
Cancel
Save