diff --git a/src/iodine.c b/src/iodine.c index e97ae4f..b068f7b 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -65,7 +65,7 @@ usage() { fprintf(stderr, "Usage: %s [-v] [-h] [-f] [-r] [-u user] [-t chrootdir] [-d device] " "[-P password] [-6] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-I sec] " "[-z context] [-F pidfile] [nameserver] topdomain\n", __progname); -#elif +#else fprintf(stderr, "Usage: %s [-v] [-h] [-f] [-r] [-u user] [-t chrootdir] [-d device] " "[-P password] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-I sec] " "[-z context] [-F pidfile] [nameserver] topdomain\n", __progname); @@ -82,7 +82,7 @@ help() { fprintf(stderr, "Usage: %s [-v] [-h] [-f] [-r] [-u user] [-t chrootdir] [-d device] " "[-P password] [-6] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-I sec] " "[-z context] [-F pidfile] [nameserver] topdomain\n", __progname); -#elif +#else fprintf(stderr, "Usage: %s [-v] [-h] [-f] [-r] [-u user] [-t chrootdir] [-d device] " "[-P password] [-m maxfragsize] [-M maxlen] [-T type] [-O enc] [-L 0|1] [-I sec] " "[-z context] [-F pidfile] [nameserver] topdomain\n", __progname); @@ -200,7 +200,7 @@ main(int argc, char **argv) #ifdef LINUX while ((choice = getopt(argc, argv, "6vfhru:t:d:R:P:m:M:F:T:O:L:I:")) != -1) { -#elif +#else while ((choice = getopt(argc, argv, "vfhru:t:d:R:P:m:M:F:T:O:L:I:")) != -1) { #endif switch(choice) { diff --git a/src/iodined.c b/src/iodined.c index ebc97c1..f72933d 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -2197,7 +2197,7 @@ usage() { "[-l ip address to listen on] [-p port] [-n external ip] " "[-b dnsport] [-P password] [-F pidfile] " "tunnel_ip[/netmask] [tunnel_net6/netmask6] topdomain\n", __progname); -#elif +#else fprintf(stderr, "Usage: %s [-v] [-h] [-c] [-s] [-f] [-D] [-u user] " "[-t chrootdir] [-d device] [-m mtu] [-z context] " "[-l ip address to listen on] [-p port] [-n external ip] " @@ -2217,7 +2217,7 @@ help() { "[-t chrootdir] [-d device] [-m mtu] [-z context] " "[-l ip address to listen on] [-p port] [-n external ip] [-b dnsport] [-P password] " "[-F pidfile] tunnel_ip[/netmask] [tunnel_net6/netmask6] topdomain\n", __progname); -#elif +#else fprintf(stderr, "Usage: %s [-v] [-h] [-c] [-s] [-f] [-D] [-u user] " "[-t chrootdir] [-d device] [-m mtu] [-z context] " "[-l ip address to listen on] [-p port] [-n external ip] [-b dnsport] [-P password] " @@ -2342,7 +2342,7 @@ main(int argc, char **argv) #ifdef LINUX while ((choice = getopt(argc, argv, "6vcsfhDu:t:d:m:l:p:n:b:P:z:F:")) != -1) { -#elif +#else while ((choice = getopt(argc, argv, "vcsfhDu:t:d:m:l:p:n:b:P:z:F:")) != -1) { #endif switch(choice) { @@ -2420,7 +2420,7 @@ main(int argc, char **argv) #ifdef LINUX if (argc != 2 + v6) -#elif +#else if (argc != 2) #endif usage(); @@ -2471,7 +2471,7 @@ main(int argc, char **argv) #ifdef LINUX topdomain = strdup(argv[1 + v6]); -#elif +#else topdomain = strdup(argv[1]); #endif if (strlen(topdomain) <= 128) { diff --git a/src/user.c b/src/user.c index 6249a7a..eff44d5 100644 --- a/src/user.c +++ b/src/user.c @@ -40,7 +40,7 @@ unsigned usercount; int #ifdef LINUX init_users(in_addr_t my_ip, int netbits, struct in6_addr my_net6) -#elif +#else init_users(in_addr_t my_ip, int netbits) #endif { diff --git a/src/user.h b/src/user.h index 384ebab..33e0e1f 100644 --- a/src/user.h +++ b/src/user.h @@ -81,7 +81,7 @@ extern struct user *users; #ifdef LINUX int init_users(in_addr_t my_ip, int netbits, struct in6_addr my_net6); -#elif +#else int init_users(in_addr_t my_ip, int netbits); #endif const char* users_get_first_ip();