|
@@ -1263,6 +1263,7 @@ static const struct signal_t signal_table[] = {
|
|
|
{ SIGTERM, "INT" },
|
|
|
{ SIGNEWNYM, "NEWNYM" },
|
|
|
{ SIGCLEARDNSCACHE, "CLEARDNSCACHE"},
|
|
|
+ { SIGHEARTBEAT, "HEARTBEAT"},
|
|
|
{ 0, NULL },
|
|
|
};
|
|
|
|
|
@@ -4454,6 +4455,9 @@ control_event_signal(uintptr_t signal)
|
|
|
case SIGCLEARDNSCACHE:
|
|
|
signal_string = "CLEARDNSCACHE";
|
|
|
break;
|
|
|
+ case SIGHEARTBEAT:
|
|
|
+ signal_string = "HEARTBEAT";
|
|
|
+ break;
|
|
|
default:
|
|
|
log_warn(LD_BUG, "Unrecognized signal %lu in control_event_signal",
|
|
|
(unsigned long)signal);
|