X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=meshlink-sample%2Fmeshlinkapp.c;h=3be653526d269634e0962130a4492888753f1047;hb=7ef762c6ac85e3eb7c21c41cd752ba130279f232;hp=847fad01b2c2343cf4f43b9b81de339fcb432ebc;hpb=78dbeddec72bc1c75165f1d1c8554e322c606fbe;p=meshlink diff --git a/meshlink-sample/meshlinkapp.c b/meshlink-sample/meshlinkapp.c index 847fad01..3be65352 100644 --- a/meshlink-sample/meshlinkapp.c +++ b/meshlink-sample/meshlinkapp.c @@ -6,7 +6,8 @@ char *confbase = "/tmp/meshlink/"; char *name = "test"; tinc_setup(confbase, name); - +tinc_start(confbase); +sleep(10); //give time to this thread to finish before we exit return 0; }