summaryrefslogtreecommitdiff
path: root/usr.sbin/hoststatectl/hoststatectl.c
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-06 08:45:47 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-06 08:45:47 +0000
commit39659b52b3422ff9282ee8e076893e3c3f7f957c (patch)
treea51ff16f67f60c144c5959999003c382e783f755 /usr.sbin/hoststatectl/hoststatectl.c
parent7179ffad04c7ecffda3812591d161dc659346c3a (diff)
inform hoststatectl monitor of ruleset changes and table syncs.
ok reyk@
Diffstat (limited to 'usr.sbin/hoststatectl/hoststatectl.c')
-rw-r--r--usr.sbin/hoststatectl/hoststatectl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/hoststatectl/hoststatectl.c b/usr.sbin/hoststatectl/hoststatectl.c
index 301488a9dc9..2fa8106cfc5 100644
--- a/usr.sbin/hoststatectl/hoststatectl.c
+++ b/usr.sbin/hoststatectl/hoststatectl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hoststatectl.c,v 1.13 2007/02/03 17:51:46 reyk Exp $ */
+/* $OpenBSD: hoststatectl.c,v 1.14 2007/02/06 08:45:46 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -68,6 +68,9 @@ struct imsgname imsgs[] = {
{ IMSG_CTL_TABLE_ENABLE, "ctl_table_enable", monitor_id },
{ IMSG_CTL_HOST_DISABLE, "ctl_host_disable", monitor_id },
{ IMSG_CTL_HOST_ENABLE, "ctl_host_enable", monitor_id },
+ { IMSG_CTL_TABLE_CHANGED, "ctl_table_changed", monitor_id },
+ { IMSG_CTL_PULL_RULESET, "ctl_pull_ruleset", monitor_id },
+ { IMSG_CTL_PUSH_RULESET, "ctl_push_ruleset", monitor_id },
{ IMSG_SYNC, "sync", NULL },
{ 0, NULL, NULL }
};