summaryrefslogtreecommitdiff
path: root/common/dhcp-eval.5
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2001-08-10 10:50:50 +0000
committerTed Lemon <source@isc.org>2001-08-10 10:50:50 +0000
commita609e69bba4c227b52532a28d49f32f97395a56e (patch)
tree2b8e35b79518e25c5f9d19f9321dfdb0749c3589 /common/dhcp-eval.5
parenteaf0b3020b3e558da321d7ad099bc1fc5a813750 (diff)
downloadisc-dhcp-a609e69bba4c227b52532a28d49f32f97395a56e.tar.gz
sync with branch
Diffstat (limited to 'common/dhcp-eval.5')
-rw-r--r--common/dhcp-eval.527
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,