Commit 8902ba60 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix initialisation of myxroute->installed.

parent 48371846
...@@ -145,7 +145,7 @@ main(int argc, char **argv) ...@@ -145,7 +145,7 @@ main(int argc, char **argv)
if(myxroutes[nummyxroutes].cost < 0 || if(myxroutes[nummyxroutes].cost < 0 ||
myxroutes[nummyxroutes].cost > INFINITY) myxroutes[nummyxroutes].cost > INFINITY)
goto syntax; goto syntax;
myxroutes[nummyxroutes].installed = force ? 0 : 2; myxroutes[nummyxroutes].installed = force ? 2 : 0;
nummyxroutes++; nummyxroutes++;
} else if(strcmp(*arg, "-h") == 0) { } else if(strcmp(*arg, "-h") == 0) {
SHIFTE(); SHIFTE();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment