jedisct1/UCarp — pull request #5 by renard (2012-01-26 12:46:11+00:00)
Title: Dump CARP status to a file.

A status file is created under /var/run (see configure --with-runtimedir
option).

The status file is: /var/run/ucarp.INTERFACE.VHID.status

The status file contains:

MASTER on eth0 id 41 advskew=10 advbase=1 srcip=10.65.0.42 addr=10.65.0.41 state_change=1

NOTE: carp_softc struct has been modified to add change_count which shows
how many time the CARP state has changed since its start.

Signed-off-by: Sébastien Gross