]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix up RAS examples
authorTed Lemon <source@isc.org>
Thu, 30 Nov 2000 14:15:41 +0000 (14:15 +0000)
committerTed Lemon <source@isc.org>
Thu, 30 Nov 2000 14:15:41 +0000 (14:15 +0000)
server/dhcpd.conf.5

index f8754b4d79e54b75d4c55dd75d0b95133e5caaf2..fd2aefb2ddc99a58b5546f00d3b832d7ce32a19b 100644 (file)
@@ -603,7 +603,7 @@ class, and then put an
 statement in the conditional's list of statements:
 .PP
 .nf
-if substring (option dhcp-client-identifier, 0, 3) = "RAS" {
+if substring (option dhcp-client-identifier, 1, 4) = "RAS " {
   add "ras-clients";
 }
 .fi
@@ -613,7 +613,7 @@ expression as a matching expression in the class statement:
 .PP
 .nf
 class "ras-clients" {
-  match if substring (option dhcp-client-identifier, 0, 3) = "RAS";
+  match if substring (option dhcp-client-identifier, 1, 4) = "RAS";
 }
 .fi
 Note that whether you use matching expressions or add statements (or