Skip to content
Snippets Groups Projects
Commit 6ba4d74b authored by Anjan Chanda's avatar Anjan Chanda Committed by Jakob Olsson
Browse files

subscribe with process id

parent 9d9a1ccb
No related branches found
No related tags found
No related merge requests found
Pipeline #31029 failed
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/types.h>
#include <unistd.h> #include <unistd.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
...@@ -1133,7 +1134,7 @@ static void controller_subscribe_for_cmdus(struct controller *c) ...@@ -1133,7 +1134,7 @@ static void controller_subscribe_for_cmdus(struct controller *c)
uint32_t map_id; uint32_t map_id;
struct blob_buf bb = {}; struct blob_buf bb = {};
struct map_module m = { struct map_module m = {
.id = 0x22222222, .id = getpid(),
.process_cmdu_funcname = "mapclient_process_cmdu", .process_cmdu_funcname = "mapclient_process_cmdu",
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment