Cleanup socket opening failure message
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 Jun 2014 11:23:55 +0000 (12:23 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 2 Jun 2014 11:28:18 +0000 (12:28 +0100)
src/main/radclient.c

index aef58fd..c15048f 100644 (file)
@@ -710,7 +710,7 @@ static int send_one_packet(rc_request_t *request)
 #endif
                        mysockfd = fr_socket(&client_ipaddr, 0);
                        if (mysockfd < 0) {
-                               ERROR("Can't open new socket: %s", strerror(errno));
+                               ERROR("Failed opening socket");
                                exit(1);
                        }
                        if (!fr_packet_list_socket_add(pl, mysockfd, ipproto,