Commit cbd0670a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in find_installed_myxroute.

parent 494d5bd5
...@@ -64,7 +64,7 @@ find_installed_myxroute(unsigned char *prefix, unsigned short plen) ...@@ -64,7 +64,7 @@ find_installed_myxroute(unsigned char *prefix, unsigned short plen)
if(myxroutes[i].installed && if(myxroutes[i].installed &&
myxroutes[i].plen == plen && myxroutes[i].plen == plen &&
memcmp(myxroutes[i].prefix, prefix, 16) == 0) { memcmp(myxroutes[i].prefix, prefix, 16) == 0) {
return &xroutes[i]; return &myxroutes[i];
} }
} }
return NULL; return NULL;
......
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