--- a/6tunnel.c +++ b/6tunnel.c @@ -508,7 +508,7 @@ int main(int argc, char **argv) { int force = 0, lsock, csock, one = 0, jeden = 1, local_port; int detach = 1, listen6 = 0, sa_len, conn_limit = 0; - char optc, *username = NULL, *bind_host = NULL; + char optc = -1, *username = NULL, *bind_host = NULL; struct sockaddr *sa; struct sockaddr_in laddr, caddr; struct sockaddr_in6 laddr6;