Skip to content

Commit

Permalink
Finally, actually register the UDP transport.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Oct 7, 2024
1 parent 8a71020 commit ad68e78
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sp/transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ extern void nni_sp_tcp_register(void);
#ifdef NNG_TRANSPORT_TLS
extern void nni_sp_tls_register(void);
#endif
#ifdef NNG_TRANSPORT_UDP
extern void nni_sp_udp_register(void);
#endif
#ifdef NNG_TRANSPORT_WS
extern void nni_sp_ws_register(void);
#endif
Expand Down Expand Up @@ -91,6 +94,9 @@ nni_sp_tran_sys_init(void)
#ifdef NNG_TRANSPORT_TLS
nni_sp_tls_register();
#endif
#ifdef NNG_TRANSPORT_UDP
nni_sp_udp_register();
#endif
#ifdef NNG_TRANSPORT_WS
nni_sp_ws_register();
#endif
Expand Down

0 comments on commit ad68e78

Please sign in to comment.