aboutsummaryrefslogtreecommitdiff
path: root/sbin/dhclient/privsep.h
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2016-09-02 21:14:29 +0000
committerConrad Meyer <cem@FreeBSD.org>2016-09-02 21:14:29 +0000
commit387016a57624e225ee841b674035c8cf40dc7c97 (patch)
treed7603c3ea47486098d57f5fc93b62610dd6c191d /sbin/dhclient/privsep.h
parent681e94f4d03f609ecaeaa8229fcfae31bb5311f0 (diff)
downloadsrc-387016a57624e225ee841b674035c8cf40dc7c97.tar.gz
src-387016a57624e225ee841b674035c8cf40dc7c97.zip
dhclient: add support for interface-mtu (26)
Make dhclient set interface MTU if it was provided. This version implements MTU setting in dhclient itself before it runs dhclient-script. PR: 206721 Submitted by: novel@ Reported by: Jarrod Petz <jlpetz at gmail.com> Reviewed by: cem, allanjude Differential Revision: https://reviews.freebsd.org/D5675
Notes
Notes: svn path=/head/; revision=305306
Diffstat (limited to 'sbin/dhclient/privsep.h')
-rw-r--r--sbin/dhclient/privsep.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dhclient/privsep.h b/sbin/dhclient/privsep.h
index d464da4360e5..e1a7338f2b96 100644
--- a/sbin/dhclient/privsep.h
+++ b/sbin/dhclient/privsep.h
@@ -36,7 +36,8 @@ enum imsg_code {
IMSG_SCRIPT_WRITE_PARAMS,
IMSG_SCRIPT_GO,
IMSG_SCRIPT_GO_RET,
- IMSG_SEND_PACKET
+ IMSG_SEND_PACKET,
+ IMSG_SET_INTERFACE_MTU,
};
struct imsg_hdr {