|
|
|
@ -103,7 +103,7 @@ static void start_server(char *port_str)
|
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
/* start server (which means registering pktdump for the chosen port) */ |
|
|
|
|
server.pid = gnrc_pktdump_getpid(); |
|
|
|
|
server.pid = gnrc_pktdump_pid; |
|
|
|
|
server.demux_ctx = (uint32_t)port; |
|
|
|
|
gnrc_netreg_register(GNRC_NETTYPE_UDP, &server); |
|
|
|
|
printf("Success: started UDP server on port %" PRIu16 "\n", port); |
|
|
|
|