Changeset b9be9b0 in mainline for uspace/app/netecho/comm.c


Ignore:
Timestamp:
2022-03-04T09:11:58Z (2 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
af259da
Parents:
917324b
git-author:
Jiri Svoboda <jiri@…> (2022-03-03 18:11:14)
git-committer:
Jiri Svoboda <jiri@…> (2022-03-04 09:11:58)
Message:

Fix handling of UDP default destination in udp_assoc_send_msg()

Fixes netecho failing to send any message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/netecho/comm.c

    r917324b rb9be9b0  
    5252static udp_t *udp;
    5353static udp_assoc_t *assoc;
    54 static inet_ep_t remote;
    5554
    5655#define RECV_BUF_SIZE 1024
     
    185184errno_t comm_send(void *data, size_t size)
    186185{
    187         errno_t rc = udp_assoc_send_msg(assoc, &remote, data, size);
     186        errno_t rc = udp_assoc_send_msg(assoc, NULL, data, size);
    188187        if (rc != EOK)
    189188                return EIO;
Note: See TracChangeset for help on using the changeset viewer.