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:
parent
5ec0b1609a
commit
3d9c7ee5de
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user