44net-request@hamradio.ucsd.edu wrote:
Subject: [44net] ampr-ripd 1.8 released From: "Marius Petrescu" marius@yo2loj.ro Date: 02/11/2014 06:00 PM
To: "'AMPRNet working group'" 44net@hamradio.ucsd.edu
Hello OMs,
Another addition and a new version.
Added support for setting a specific route metric for the created routes using the -m option (regular routes until now had metric 0). This allows routes from other sources, e.g. BGP or OSPF to take precedence over those created by ampr-ripd.
When you make another version, consider:
- a -w option to set the window (now fixed at 840), setting 0 means no window setting.
- in the section to become a daemon, make use of the daemon() function. e.g.:
if (FALSE == debug) { if (daemon(0,verbose)<0) { PERROR("Can not become a daemon"); } }
The advantage is that the program detaches from the terminal, which is required when you want to start it in a /etc/init.d script and do not want to keep init waiting for the program.
Rob