projects
/
tinc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
439069b
)
Fix tincctl start.
author
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jul 2012 19:15:35 +0000
(21:15 +0200)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Sun, 15 Jul 2012 19:15:35 +0000
(21:15 +0200)
src/tincctl.c
patch
|
blob
|
history
diff --git
a/src/tincctl.c
b/src/tincctl.c
index
b2a6561
..
c165418
100644
(file)
--- a/
src/tincctl.c
+++ b/
src/tincctl.c
@@
-655,6
+655,9
@@
static bool connect_tincd() {
static int cmd_start(int argc, char *argv[]) {
int i, j;
char *c;
+
+ argc += optind;
+ argv -= optind;
char *slash = strrchr(argv[0], '/');
#ifdef HAVE_MINGW