]> granicus.if.org Git - icinga2/blobdiff - lib/icinga/notification.cpp
Remove the HostUnreachable state.
[icinga2] / lib / icinga / notification.cpp
index d516f730b6aba239a04d2266c99c215d52c2100d..c143ee4d787958edfb15f65812ef688156a5e80a 100644 (file)
@@ -411,8 +411,7 @@ int icinga::HostStateToFilter(HostState state)
        switch (state) {
                case HostUp:
                        return StateFilterUp;
-               case HostDown: /* fall through */
-               case HostUnreachable:
+               case HostDown:
                        return StateFilterDown;
                default:
                        VERIFY(!"Invalid state type.");