X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=c9d8c67c98e3ed6a91ad8c48008ace6af1119f4d;hb=3e61c7233b087b8400c29ca7a8d079aad8b706d8;hp=c6d4aac51dfb853baf60a393a7199916aa74b3bf;hpb=11868b890d1a7f4cfbfb37099393b32019010f66;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index c6d4aac5..c9d8c67c 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -89,7 +89,7 @@ static struct option const long_options[] = { static void version(void) { printf("%s version %s (built %s %s, protocol %d.%d)\n", PACKAGE, BUILD_VERSION, BUILD_DATE, BUILD_TIME, PROT_MAJOR, PROT_MINOR); - printf("Copyright (C) 1998-2014 Ivo Timmermans, Guus Sliepen and others.\n" + printf("Copyright (C) 1998-2015 Ivo Timmermans, Guus Sliepen and others.\n" "See the AUTHORS file for a complete list.\n\n" "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n" "and you are welcome to redistribute it under certain conditions;\n" @@ -854,8 +854,8 @@ static int cmd_start(int argc, char *argv[]) { return status; #else int pfd[2] = {-1, -1}; - if(pipe(pfd)) { - fprintf(stderr, "Could not create umbilical pipe: %s\n", strerror(errno)); + if(socketpair(AF_UNIX, SOCK_STREAM, 0, pfd)) { + fprintf(stderr, "Could not create umbilical socket: %s\n", strerror(errno)); free(nargv); return 1; }