X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/8c270aac273a1577af0b1f7b82ec1d78ca9e81cf..b1087392f5ee0a220d9ac7417d65d5289abf46ab:/l2tpns.c diff --git a/l2tpns.c b/l2tpns.c index 6927eb5..b988c7f 100644 --- a/l2tpns.c +++ b/l2tpns.c @@ -2199,8 +2199,9 @@ int main(int argc, char *argv[]) } time(&basetime); // start clock - // scan args + initdata(); + // scan args while ((o = getopt(argc, argv, "vc:h:a:")) >= 0) { switch (o) @@ -2237,7 +2238,6 @@ int main(int argc, char *argv[]) initiptables(); initplugins(); - initdata(); init_cli(); read_config_file(); log(1, 0, 0, 0, "L2TPNS Version 1.1.0 - http://l2tpns.sourceforge.net/\n");