summaryrefslogtreecommitdiff
path: root/includes/dhctoken.h
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2009-07-06 23:29:52 +0000
committerDavid Hankins <dhankins@isc.org>2009-07-06 23:29:52 +0000
commit33ea4622a865e0cc545c7d89d2b222e1198e9ac3 (patch)
treec5284ed5b090a669eed653156743f446ebcf78cf /includes/dhctoken.h
parent8ef5db715e202470cece3c62750aafe5a475594b (diff)
downloadisc-dhcp-33ea4622a865e0cc545c7d89d2b222e1198e9ac3.tar.gz
- Added a configuration function, 'gethostname()', which calls the system
function of the same name and presents the results as a data expression. This function can be used to incorporate the system level hostname of the system the DHCP software is operating on in responses or queries (such as including a failover partner's hostname in a dhcp message or binding scope, or having a DHCP client send any system hostname in the host-name or FQDN options by default). [ISC-Bugs #17351]
Diffstat (limited to 'includes/dhctoken.h')
-rw-r--r--includes/dhctoken.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/dhctoken.h b/includes/dhctoken.h
index 01ed1303..d47506a0 100644
--- a/includes/dhctoken.h
+++ b/includes/dhctoken.h
@@ -355,7 +355,8 @@ enum dhcp_token {
FIXED_PREFIX6 = 658,
ANYCAST_MAC = 659,
CONFLICT_DONE = 660,
- AUTO_PARTNER_DOWN = 661
+ AUTO_PARTNER_DOWN = 661,
+ GETHOSTNAME = 662
};
#define is_identifier(x) ((x) >= FIRST_TOKEN && \