carp_get_state
carp_update_state(carp_get_state(cfgstate.carp_ifname));
cfgstate.runstate = carp_get_state(cfgstate.carp_ifname);