diff options
author | Nataliia S. <81954790+natali-rs1985@users.noreply.github.com> | 2024-11-08 10:30:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-08 10:30:29 +0200 |
commit | 5fac74ef9d3356a66a39e8ea6ddcb40d6944e23b (patch) | |
tree | b9ad2f5189ec40aa04e6ddb417a526e6548aef62 /data/templates/dhcp-server | |
parent | 3eb66e36b81c835f802900c4bc2e973e2657fa31 (diff) | |
download | vyos-1x-5fac74ef9d3356a66a39e8ea6ddcb40d6944e23b.tar.gz vyos-1x-5fac74ef9d3356a66a39e8ea6ddcb40d6944e23b.zip |
dhcp_server: T6031: DHCP Option Failures - windows-static-route (#4183)
In "option-def" parameter "record-types" field is an array of uint8 in format "<netmask>, <network-byte1>, <network-byte2>, <network-byte3>, <router-byte1>, <router-byte2>, <router-byte3>" where <network-byte3> with the value 0 is omitted, so the minimal length of array is 7 (e.g. for routing 10.1.0.0/16 via 10.1.6.4 "record-types": "16,10,1,10,1,6,4")
Diffstat (limited to 'data/templates/dhcp-server')
-rw-r--r-- | data/templates/dhcp-server/kea-dhcp4.conf.j2 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2 index bf37b94f6..29cf5e082 100644 --- a/data/templates/dhcp-server/kea-dhcp4.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2 @@ -29,14 +29,14 @@ "code": 121, "type": "record", "array": true, - "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8" + "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8" }, { "name": "windows-static-route", "code": 249, "type": "record", "array": true, - "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8,uint8" + "record-types": "uint8,uint8,uint8,uint8,uint8,uint8,uint8" }, { "name": "wpad-url", |