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)
if(myxroutes[nummyxroutes].cost < 0 ||
myxroutes[nummyxroutes].cost > INFINITY)
goto syntax;
myxroutes[nummyxroutes].installed = force ? 0 : 2;
myxroutes[nummyxroutes].installed = force ? 2 : 0;
nummyxroutes++;
} else if(strcmp(*arg, "-h") == 0) {
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