I have implemented a mechanism that checks for a working internet connection. Depending on this batmand is called either with options "-c -b -r2" or "-c -b -g 1024/1024".
Most often when batmand is called with "-c -b -g 1024/1024" batmand terminates:
batmand -c -b -g 1024/1024 WARNING: You are using BatMan-eXp 0.3-alpha (compatibility version 10) ! Connection terminated by remote host.
I have to restart batmand, but all routes are removed and batman loses its data. I also have to check for the internet connection again and must hope that batmand does not terminate.
Batmand does not terminate every time.
Any ideas? Tested rev. 966 (batman-experimental)