mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #11786 from miri64/gnrc_tftp/fix/set-dst-port-on-server-init
gnrc_tftp: set port on server init
This commit is contained in:
commit
6176878153
@ -412,6 +412,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 */
|
/* context will be initialized when a connection is established */
|
||||||
tftp_context_t ctxt = {
|
tftp_context_t ctxt = {
|
||||||
|
.dst_port = GNRC_TFTP_DEFAULT_DST_PORT,
|
||||||
.src_port = GNRC_TFTP_DEFAULT_DST_PORT,
|
.src_port = GNRC_TFTP_DEFAULT_DST_PORT,
|
||||||
.data_cb = data_cb,
|
.data_cb = data_cb,
|
||||||
.start_cb = start_cb,
|
.start_cb = start_cb,
|
||||||
|
Loading…
Reference in New Issue
Block a user