diff options
author | Ted Lemon <source@isc.org> | 2001-08-08 14:47:28 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2001-08-08 14:47:28 +0000 |
commit | 549d33fdf91ccdcba6d396ed0df76c56e0fdefc0 (patch) | |
tree | 57ad2054aeec79a9435fce58aae1181fc72eb2ec | |
parent | d5d6ec67ed77bbfb919c6a83c06a36627e71f633 (diff) | |
download | isc-dhcp-549d33fdf91ccdcba6d396ed0df76c56e0fdefc0.tar.gz |
Don't document the define statement, since it doesn't work.
-rw-r--r-- | common/dhcp-eval.5 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/common/dhcp-eval.5 b/common/dhcp-eval.5 index 1721c608..3b80ad87 100644 --- a/common/dhcp-eval.5 +++ b/common/dhcp-eval.5 @@ -409,33 +409,6 @@ Rebind - DHCP client is in the REBINDING state - it has an IP address, and is trying to contact any server to renew it. The next message to be sent will be a DHCPREQUEST, which will be broadcast. .RE -.SH -FUNCTIONS -Functions may be defined with the \fBdefine\fR statement. A function -definition may occur anywhere that regular statement may appear. -Functions occupy the same namespace as variables, and obey the same -scoping rules. -.PP -.nf -define set-hostname(prefix) { - option host-name - concat (prefix, binary-to-ascii (16, 32, "", leased-address)); -} -.fi -.PP -A function may return a value when used in an expression with the -\fBreturn\fR statement. A function with no return statement has a -value of null. -.PP -.nf -define make-hostname(prefix) { - return concat (prefix, binary-to-ascii (16, 32, "", leased-address)); -} - -option host-name make-hostname("dyn-"); -.fi -.PP -.RE .SH REFERENCE: LOGGING Logging statements may be used to send information to the standard logging channels. A logging statement includes an optional priority (\fBfatal\fR, |