summaryrefslogtreecommitdiff
path: root/sbin/dhclient/privsep.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2012-10-30 18:39:45 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2012-10-30 18:39:45 +0000
commit1721d77e423e622f2a9d018651a15c36a5f3a17e (patch)
treef6597ed300615a71bdb45bd274857071508779db /sbin/dhclient/privsep.h
parent1a882f5e4d6022913f24a2a3ba0c2f51fcde1e38 (diff)
Nuke dhclient-script and dhclient.conf 'script' directive. Do all
interface and route configuration via ioctl's and routing sockets. This will break configurations using local enhancements of dhclient-script, which will now require alternate arrangements. Committing early to allow time to identify and develop required alternatives. Several proddings by deraadt@.
Diffstat (limited to 'sbin/dhclient/privsep.h')
-rw-r--r--sbin/dhclient/privsep.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h
index b81a37db666..59300e00f53 100644
--- a/sbin/dhclient/privsep.h
+++ b/sbin/dhclient/privsep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: privsep.h,v 1.5 2007/02/13 21:54:22 stevesk Exp $ */
+/* $OpenBSD: privsep.h,v 1.6 2012/10/30 18:39:44 krw Exp $ */
/*
* Copyright (c) 2004 Henning Brauer <henning@openbsd.org>
@@ -27,10 +27,11 @@ struct buf {
enum imsg_code {
IMSG_NONE,
- IMSG_SCRIPT_INIT,
- IMSG_SCRIPT_WRITE_PARAMS,
- IMSG_SCRIPT_GO,
- IMSG_SCRIPT_GO_RET
+ IMSG_DELETE_ADDRESS,
+ IMSG_ADD_ADDRESS,
+ IMSG_FLUSH_ROUTES,
+ IMSG_ADD_DEFAULT_ROUTE,
+ IMSG_NEW_RESOLV_CONF
};
struct imsg_hdr {