Skip to content

Commit

Permalink
fix: use raweth link send for join message
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 28, 2023
1 parent 79ecd1d commit b7a009e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions include/zenoh-pico/transport/raweth/rx.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@

int8_t _z_raweth_recv_t_msg(_z_transport_multicast_t *ztm, _z_transport_message_t *t_msg, _z_bytes_t *addr);
int8_t _z_raweth_recv_t_msg_na(_z_transport_multicast_t *ztm, _z_transport_message_t *t_msg, _z_bytes_t *addr);
int8_t _z_raweth_handle_transport_message(_z_transport_multicast_t *ztm, _z_transport_message_t *t_msg,
_z_bytes_t *addr);

#endif /* ZENOH_PICO_RAWETH_RX_H */
2 changes: 1 addition & 1 deletion src/transport/raweth/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int8_t _z_raweth_open_peer(_z_transport_multicast_establish_param_t *param, cons

// Encode and send the message
_Z_INFO("Sending Z_JOIN message\n");
ret = _z_link_send_t_msg(zl, &jsm);
ret = _z_raweth_send_t_msg(zl, &jsm);
_z_t_msg_clear(&jsm);

if (ret == _Z_RES_OK) {
Expand Down

0 comments on commit b7a009e

Please sign in to comment.