Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/tools/etherload/etherload_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ int probe_mega65_ipv6_address(int timeout_ms)
for (int idx = 0; idx < num_if; ++idx) {
// creating an IPv6 UDP server socket and listen on port 4510 for incoming packets
discoverfd[idx] = socket(AF_INET6, SOCK_DGRAM, 0);
if (discoverfd < 0) {
if (discoverfd[idx] < 0) {
log_crit("Unable to create socket");
goto leave_probe_mega65;
}
Expand Down
Loading