summaryrefslogtreecommitdiff
path: root/src/uanytun.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-03-16 21:54:46 +0000
committerChristian Pointner <equinox@anytun.org>2009-03-16 21:54:46 +0000
commit6ddfa398d6006a13c7e4d047a44a973169864aa3 (patch)
tree515a9fc27c7e7172f6e5454b5aa06e66996c23c1 /src/uanytun.c
parentadded command line option for auth tag length (diff)
added --role to options parser
Diffstat (limited to 'src/uanytun.c')
-rw-r--r--src/uanytun.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/uanytun.c b/src/uanytun.c
index 72a0fab..78c9f77 100644
--- a/src/uanytun.c
+++ b/src/uanytun.c
@@ -324,6 +324,9 @@ int main(int argc, char* argv[])
if(ret == -3) {
fprintf(stderr, "syntax error: -4 and -6 are mutual exclusive\n\n");
}
+ if(ret == -4) {
+ fprintf(stderr, "syntax error: unknown role name\n\n");
+ }
if(ret != -2)
options_print_usage();