Skip to content

Commit 000afb7

Browse files
send: socket support
1 parent 3ce1b4c commit 000afb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/disco/net/sock/fd_sock_tile.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,10 @@ privileged_init( fd_topo_t * topo,
209209
DST_PROTO_SHRED, /* shred_listen_port (turbine) */
210210
DST_PROTO_GOSSIP, /* gossip_listen_port */
211211
DST_PROTO_REPAIR, /* shred_listen_port (repair) */
212-
DST_PROTO_REPAIR /* repair_serve_listen_port */
212+
DST_PROTO_REPAIR, /* repair_serve_listen_port */
213+
DST_PROTO_SEND /* send_src_port */
213214
};
214-
for( uint candidate_idx=0U; candidate_idx<6; candidate_idx++ ) {
215+
for( uint candidate_idx=0U; candidate_idx<7; candidate_idx++ ) {
215216
if( !udp_port_candidates[ candidate_idx ] ) continue;
216217
uint sock_idx = ctx->sock_cnt;
217218
if( candidate_idx>FD_SOCK_TILE_MAX_SOCKETS ) FD_LOG_ERR(( "too many sockets" ));

0 commit comments

Comments
 (0)