1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 00:11:16 +01:00

gnrc_tftp: set source port for server

This commit is contained in:
Martine Lenders 2019-07-01 22:56:42 +02:00
parent 5ec0b1609a
commit 3d9c7ee5de

View File

@ -406,6 +406,7 @@ int gnrc_tftp_server(tftp_data_cb_t data_cb, tftp_start_cb_t start_cb, tftp_stop
/* context will be initialized when a connection is established */
tftp_context_t ctxt = {
.src_port = GNRC_TFTP_DEFAULT_DST_PORT,
.data_cb = data_cb,
.start_cb = start_cb,
.stop_cb = stop_cb,