Commit 9b3ce014 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Update maxxroutes when flushing xroutes.

parent d4734ab8
...@@ -73,6 +73,7 @@ flush_xroute(struct xroute *xroute) ...@@ -73,6 +73,7 @@ flush_xroute(struct xroute *xroute)
if(new_xroutes == NULL) if(new_xroutes == NULL)
return; return;
xroutes = new_xroutes; xroutes = new_xroutes;
maxxroutes = n;
} }
} }
......
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