]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Be nice...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 7 Jul 2017 16:07:21 +0000 (12:07 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 7 Jul 2017 16:07:21 +0000 (12:07 -0400)
src/main/connection.c

index 38a8eda68912bf0a3e10955a11caad6093a1fe42..a1e5c974bc9ba54ba5781b9ceec8ef3ac9669431 100644 (file)
@@ -429,7 +429,10 @@ void fr_connection_reconnect(fr_connection_t *conn)
        switch (conn->state) {
        case FR_CONNECTION_STATE_FAILED:        /* Don't circumvent reconnection_delay */
        case FR_CONNECTION_STATE_INIT:          /* Already initialising */
-       case FR_CONNECTION_STATE_HALTED:        /* Should have used fr_connection_start */
+               break;
+
+       case FR_CONNECTION_STATE_HALTED:
+               fr_connection_start(conn);
                return;
 
        case FR_CONNECTION_STATE_CONNECTING: