MT#55283 fix typo from f9b8f2041

Change-Id: I86669afdc75fc721ca31f37cd0425cbede108d90
pull/1786/head
Richard Fuchs 1 year ago
parent f9b8f2041d
commit c2a4772377

@ -803,7 +803,7 @@ int open_v46_socket(socket_t *r, int type) {
int ret = __socket(r, type, &__socket_families[SF_IP6]);
if (ret) {
if (errno == EAFNOSUPPORT)
ret = __socket(r, type, &__socket_families[SF_IP6]);
ret = __socket(r, type, &__socket_families[SF_IP4]);
if (ret) {
__C_DBG("open socket fail");
return -1;

Loading…
Cancel
Save