Commit 2bddb44e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add debugging messages.

parent d0c25cd4
......@@ -706,6 +706,8 @@ expire_routes(void)
{
int i;
debugf("Expiring old routes.\n");
for(i = 0; i < numneighs; i++) {
if(neighs[i].id[0] == 0)
continue;
......
......@@ -31,6 +31,7 @@ THE SOFTWARE.
#include "neighbour.h"
#include "route.h"
#include "xroute.h"
#include "util.h"
struct xroute xroutes[MAXXROUTES];
int numxroutes = 0;
......@@ -325,6 +326,8 @@ check_myxroutes()
int i, j, n, change;
struct kernel_route routes[120];
debugf("Checking kernel routes.\n");
n = -1;
for(i = 0; i < nummyxroutes; i++)
if(myxroutes[i].installed < 2)
......
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