diff options
author | David Hankins <dhankins@isc.org> | 2009-07-06 23:29:52 +0000 |
---|---|---|
committer | David Hankins <dhankins@isc.org> | 2009-07-06 23:29:52 +0000 |
commit | 33ea4622a865e0cc545c7d89d2b222e1198e9ac3 (patch) | |
tree | c5284ed5b090a669eed653156743f446ebcf78cf /includes/tree.h | |
parent | 8ef5db715e202470cece3c62750aafe5a475594b (diff) | |
download | isc-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/tree.h')
-rw-r--r-- | includes/tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/tree.h b/includes/tree.h index e7bde430..9c37bcc5 100644 --- a/includes/tree.h +++ b/includes/tree.h @@ -197,7 +197,8 @@ enum expr_op { expr_ucase, expr_lcase, expr_regex_match, - expr_iregex_match + expr_iregex_match, + expr_gethostname }; struct expression { |