]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Typo
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 1 Nov 2016 00:24:49 +0000 (20:24 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Tue, 1 Nov 2016 00:24:49 +0000 (20:24 -0400)
src/modules/rlm_sigtran/libosmo-m3ua/sctp_m3ua_client.c

index 7b6463141d8c66de6b79276ef834980d69a54c4f..ea98a531970c83e5d442df30244b25ab26c99668 100644 (file)
@@ -393,7 +393,7 @@ static void m3ua_start(void *data)
        }
 
        ret = connect(sctp, (struct sockaddr *) &link->remote, sizeof(link->remote));
-       if ((ret != 0) && (ret != EINPROGRESS)) {
+       if ((ret != 0) && (errno != EINPROGRESS)) {
                LOGP(DINP, LOGL_ERROR, "Failed creating SCTP association: %s (%i).\n", strerror(errno), errno);
                close(sctp);
                return fail_link(link);