From 0d23ebbd13ae0a9aced5277f8017c3affd32626b Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sat, 19 May 2018 22:10:23 +0000 Subject: Add '-r', which causes running dhclient to release lease and exit. Man page tweaks from jmc@. Request, tests & ok tb@. ok millert@ on previous version. --- sbin/dhclient/dhcpd.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/dhclient/dhcpd.h') diff --git a/sbin/dhclient/dhcpd.h b/sbin/dhclient/dhcpd.h index 89d6cc5063a..0f7f118f101 100644 --- a/sbin/dhclient/dhcpd.h +++ b/sbin/dhclient/dhcpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dhcpd.h,v 1.254 2018/02/28 22:16:56 krw Exp $ */ +/* $OpenBSD: dhcpd.h,v 1.255 2018/05/19 22:10:22 krw Exp $ */ /* * Copyright (c) 2004 Henning Brauer @@ -214,6 +214,7 @@ extern int cmd_opts; #define OPT_NOACTION 1 #define OPT_VERBOSE 2 #define OPT_FOREGROUND 4 +#define OPT_RELEASE 8 void dhcpoffer(struct interface_info *, struct option_data *, const char *); -- cgit v1.2.3