aboutsummaryrefslogtreecommitdiff
path: root/src/feature/control/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-10 14:23:13 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-10 14:23:13 -0500
commiteb8841cd9553d1bd7804018963abacf93a088f74 (patch)
tree955184790af4929f9440866035314feb46ce1a2b /src/feature/control/control.c
parentd9144700af5602cc267c0d147145c100567fdbb3 (diff)
parentb2c3cb1b26c41969776ed1fd1b20588430346e45 (diff)
downloadtor-eb8841cd9553d1bd7804018963abacf93a088f74.tar.gz
tor-eb8841cd9553d1bd7804018963abacf93a088f74.zip
Merge branch 'bug33104_041'
Diffstat (limited to 'src/feature/control/control.c')
-rw-r--r--src/feature/control/control.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c
index b4f27cb820..ee1026359d 100644
--- a/src/feature/control/control.c
+++ b/src/feature/control/control.c
@@ -158,6 +158,10 @@ control_ports_write_to_file(void)
}
const struct signal_name_t signal_table[] = {
+ /* NOTE: this table is used for handling SIGNAL commands and generating
+ * SIGNAL events. Order is significant: if there are two entries for the
+ * same numeric signal, the first one is the canonical name generated
+ * for the events. */
{ SIGHUP, "RELOAD" },
{ SIGHUP, "HUP" },
{ SIGINT, "SHUTDOWN" },