remove all support for pre v13 protocols
[profile/ivi/libwebsockets.git] / test-server / test-fraggle.c
index abff7bc..f2c8d7c 100644 (file)
@@ -231,7 +231,6 @@ static struct option options[] = {
        { "debug",      required_argument,      NULL, 'd' },
        { "port",       required_argument,      NULL, 'p' },
        { "ssl",        no_argument,            NULL, 's' },
-       { "killmask",   no_argument,            NULL, 'k' },
        { "interface",  required_argument,      NULL, 'i' },
        { "client",     no_argument,            NULL, 'c' },
        { NULL, 0, 0, 0 }
@@ -255,11 +254,11 @@ int main(int argc, char **argv)
        int server_port = port;
 
        fprintf(stderr, "libwebsockets test fraggle\n"
-                       "(C) Copyright 2010-2011 Andy Green <andy@warmcat.com> "
+                       "(C) Copyright 2010-2013 Andy Green <andy@warmcat.com> "
                                                    "licensed under LGPL2.1\n");
 
        while (n >= 0) {
-               n = getopt_long(argc, argv, "ci:khsp:d:", options, NULL);
+               n = getopt_long(argc, argv, "ci:hsp:d:", options, NULL);
                if (n < 0)
                        continue;
                switch (n) {
@@ -269,9 +268,6 @@ int main(int argc, char **argv)
                case 's':
                        use_ssl = 1;
                        break;
-               case 'k':
-                       opts = LWS_SERVER_OPTION_DEFEAT_CLIENT_MASK;
-                       break;
                case 'p':
                        port = atoi(optarg);
                        server_port = port;