projects
/
l2tpns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab096cb
)
Init data before trying to use it
author
fred_nerk
<fred_nerk>
Mon, 10 May 2004 00:39:34 +0000
(
00:39
+0000)
committer
fred_nerk
<fred_nerk>
Mon, 10 May 2004 00:39:34 +0000
(
00:39
+0000)
l2tpns.c
patch
|
blob
|
history
diff --git
a/l2tpns.c
b/l2tpns.c
index
6927eb5
..
b988c7f
100644
(file)
--- a/
l2tpns.c
+++ b/
l2tpns.c
@@
-2199,8
+2199,9
@@
int main(int argc, char *argv[])
}
time(&basetime); // start clock
}
time(&basetime); // start clock
- // scan args
+ initdata();
+ // scan args
while ((o = getopt(argc, argv, "vc:h:a:")) >= 0)
{
switch (o)
while ((o = getopt(argc, argv, "vc:h:a:")) >= 0)
{
switch (o)
@@
-2237,7
+2238,6
@@
int main(int argc, char *argv[])
initiptables();
initplugins();
initiptables();
initplugins();
- initdata();
init_cli();
read_config_file();
log(1, 0, 0, 0, "L2TPNS Version 1.1.0 - http://l2tpns.sourceforge.net/\n");
init_cli();
read_config_file();
log(1, 0, 0, 0, "L2TPNS Version 1.1.0 - http://l2tpns.sourceforge.net/\n");