Skip to content

Commit d9602ab

Browse files
authored
Update SocketImpl.cpp
1 parent 11544cd commit d9602ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ArduinoCore-Linux/cores/arduino/SocketImpl.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ char* defaultInterface() {
143143
}
144144
}
145145
}
146+
return nullptr;
146147
}
147148

148149
// determines the IP Adress
@@ -189,4 +190,4 @@ const char *SocketImpl::getIPAddress(const char *validEntries[]) {
189190
return resultAddress;
190191
}
191192

192-
} // namespace arduino
193+
} // namespace arduino

0 commit comments

Comments
 (0)