@@ -519,8 +519,8 @@ public void CheckConnection()
519519
520520 if ( ! IsHostReachable )
521521 {
522- HostConnectionState = ConnectionState . Error ;
523- AddToHostDetails ( ConnectionState . Error ,
522+ HostConnectionState = ConnectionState . Critical ;
523+ AddToHostDetails ( ConnectionState . Critical ,
524524 string . Format ( Localization . LanguageFiles . Strings . TCPIPStackIsNotAvailableMessage , hostIPAddress ) ) ;
525525
526526 IsHostCheckRunning = false ;
@@ -548,8 +548,8 @@ public void CheckConnection()
548548
549549 if ( HostIPAddress == null )
550550 {
551- HostConnectionState = ConnectionState . Error ;
552- AddToHostDetails ( ConnectionState . Error ,
551+ HostConnectionState = ConnectionState . Critical ;
552+ AddToHostDetails ( ConnectionState . Critical ,
553553 Localization . LanguageFiles . Strings . CouldNotDetectLocalIPAddressMessage + " " + Localization . LanguageFiles . Strings . CheckNetworkAdapterConfigurationAndNetworkConnectionMessage ) ;
554554
555555 IsHostCheckRunning = false ;
@@ -598,7 +598,7 @@ public void CheckConnection()
598598
599599 if ( GatewayIPAddress == null )
600600 {
601- AddToGatewayDetails ( ConnectionState . Error ,
601+ AddToGatewayDetails ( ConnectionState . Critical ,
602602 Localization . LanguageFiles . Strings . CouldNotDetectGatewayIPAddressMessage + " " + Localization . LanguageFiles . Strings . CheckNetworkAdapterConfigurationAndNetworkConnectionMessage ) ;
603603
604604 IsGatewayCheckRunning = false ;
@@ -635,7 +635,7 @@ public void CheckConnection()
635635
636636 if ( ! IsGatewayReachable )
637637 {
638- AddToGatewayDetails ( ConnectionState . Error ,
638+ AddToGatewayDetails ( ConnectionState . Critical ,
639639 string . Format ( Localization . LanguageFiles . Strings . XXXIsNotReachableViaICMPMessage , GatewayIPAddress ) ) ;
640640
641641 IsGatewayCheckRunning = false ;
@@ -699,7 +699,7 @@ public void CheckConnection()
699699
700700 if ( ! IsInternetReachable )
701701 {
702- AddToInternetDetails ( ConnectionState . Error ,
702+ AddToInternetDetails ( ConnectionState . Critical ,
703703 string . Format ( Localization . LanguageFiles . Strings . XXXIsNotReachableViaICMPMessage ,
704704 publicICMPTestIPAddress ) ) ;
705705
0 commit comments