Parcourir la source

[trac4222] Correct v6 classificaiton examples to use client-id (1).

Shawn Routhier il y a 9 ans
Parent
commit
591f209e98
3 fichiers modifiés avec 8 ajouts et 3 suppressions
  1. 5 0
      ChangeLog
  2. 2 2
      doc/guide/classify.xml
  3. 1 1
      doc/guide/dhcp6-srv.xml

+ 5 - 0
ChangeLog

@@ -1,3 +1,8 @@
+10XX.	[doc]		sar
+	Correct v6 classification examples to use client-id (1) instead
+	of server-id (2).
+	(Trac #4222, git TBD)
+
 Kea 1.0.0-beta released on December 8, 2015
 
 1067.	[doc]		sar

+ 2 - 2
doc/guide/classify.xml

@@ -298,7 +298,7 @@
     "client-classes": [<userinput>
         {
             "name": "Client_enterprise",
-            "test": "substring(option[2].hex,0,6) == 0x0002AABBCCDD'",
+            "test": "substring(option[1].hex,0,6) == 0x0002AABBCCDD'",
             "option-data": [
                 {
                     "name": "dns-servers",
@@ -371,7 +371,7 @@
     "client-classes": [
         {
             "name": "Client_enterprise",
-            "test": "substring(option[2].hex,0,6) == 0x0002AABBCCDD'",
+            "test": "substring(option[1].hex,0,6) == 0x0002AABBCCDD'",
             "option-data": [
                 {
                     "name": "dns-servers",

+ 1 - 1
doc/guide/dhcp6-srv.xml

@@ -1692,7 +1692,7 @@ should include options from the isc option space:
     "client-classes": [
         {<userinput>
             "name": "Client_enterprise",
-            "test": "substring(option[2].hex,0,6) == 0x0002AABBCCDD'",
+            "test": "substring(option[1].hex,0,6) == 0x0002AABBCCDD'",
             "option-data": [
                 {
                     "name": "dns-servers",