remove dummy mode
[project/unetd.git] / main.c
diff --git a/main.c b/main.c
index 3bd774471b8fd8baf3d4917b61de59a548dc566f..cd398438f253e4bea8bfa00fa5ce6389d4954f90 100644 (file)
--- a/main.c
+++ b/main.c
@@ -17,7 +17,6 @@ struct cmdline_network {
 static struct cmdline_network *cmd_nets;
 static const char *hosts_file;
 const char *mssfix_path = UNETD_MSS_BPF_PATH;
-bool dummy_mode;
 bool debug;
 
 static void
@@ -98,14 +97,11 @@ int main(int argc, char **argv)
        struct cmdline_network *net;
        int ch;
 
-       while ((ch = getopt(argc, argv, "Ddh:M:N:")) != -1) {
+       while ((ch = getopt(argc, argv, "dh:M:N:")) != -1) {
                switch (ch) {
                case 'd':
                        debug = true;
                        break;
-               case 'D':
-                       dummy_mode = true;
-                       break;
                case 'h':
                        hosts_file = optarg;
                        break;