<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello, im trying to configure and use option 122 in KEA (i have this working perfectly on ISC) , i found your ticket #3236 but i believe that refers to have the option as common option.<div class=""><br class=""></div><div class="">Thing is, on my DHCP offer option 122 is sent, but suboptions are not sent at all (module for option 122 is 0 bytes length) , it should be working right?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Here’s my config (stripped, all suboptions are declared)</div><div class=""><br class=""></div><div class=""><div class=""><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class="">"option-def"<span style="color: rgb(76, 47, 45);" class=""> :[</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">  {</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"name"<span style="color: rgb(76, 47, 45);" class="">: </span>"DHCP-server-1"<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"code"</span>: 1,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"space"</span>: <span style="color: rgb(177, 37, 18);" class="">"pcc"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"type"<span style="color: rgb(76, 47, 45);" class="">: </span>"ipv4-address"<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"record-types"<span style="color: rgb(76, 47, 45);" class="">: </span>""<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"array"</span>: false,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"encapsulate"<span style="color: rgb(76, 47, 45);" class=""> : </span>""</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">  },{</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"name"<span style="color: rgb(76, 47, 45);" class="">: </span>"DHCP-server-2"<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"code"</span>: 2,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"space"</span>: <span style="color: rgb(177, 37, 18);" class="">"pcc"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"type"<span style="color: rgb(76, 47, 45);" class="">: </span>"ipv4-address"<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"record-types"<span style="color: rgb(76, 47, 45);" class="">: </span>""<span style="color: rgb(76, 47, 45);" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">          <span style="color: rgb(177, 37, 18);" class="">"array"</span>: false,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="color: rgb(76, 47, 45);" class="">          </span>"encapsulate"<span style="color: rgb(76, 47, 45);" class="">: </span>""</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">  },</div></div><div style="margin: 0px; background-color: rgb(223, 219, 196);" class=""><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">{</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">          <span style="color: rgb(177, 37, 18);" class="">"name"</span> :<span style="color: rgb(177, 37, 18);" class="">"clabs"</span>,</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">                  <span style="color: rgb(177, 37, 18);" class="">"code"</span> : 122,</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">                  <span style="color: rgb(177, 37, 18);" class="">"space"</span> : <span style="color: rgb(177, 37, 18);" class="">"dhcp4"</span>,</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">                  <span style="color: rgb(177, 37, 18);" class="">"type"</span> : <span style="color: rgb(177, 37, 18);" class="">"empty"</span>,</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">                  <span style="color: rgb(177, 37, 18);" class="">"array"</span> : false,</div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">                  <span style="color: rgb(177, 37, 18);" class="">"record-types"</span> : <span style="color: rgb(177, 37, 18);" class="">""</span>,</div><div style="margin: 0px;" class=""><font color="#4c2f2d" face="Courier" class=""><span style="font-size: 14px;" class="">                  </span></font><span style="color: rgb(177, 37, 18); font-family: Courier; font-size: 14px;" class="">"encapsulate"</span><font color="#4c2f2d" face="Courier" class=""><span style="font-size: 14px;" class=""> : </span></font><font color="#b12512" face="Courier" class=""><span style="font-size: 14px;" class="">“pcc"</span></font></div><div style="color: rgb(76, 47, 45); font-family: Courier; font-size: 14px; margin: 0px;" class="">}</div></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">and here’s how im trying to use it</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class="">"option-data"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> : [</span><span style="color: rgb(76, 47, 45);" class="">{</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class="">               </span>"name"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> : </span>"Provision-server"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"space"</span> : <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"pcc"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"code"</span> : 3,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"csv-format"</span> : true,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class="">               </span>"data"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> : </span>"<a href="http://provisioning.my3play.net" class="">provisioning.my3play.net</a>"</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">       },</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">       {</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(177, 37, 18); background-color: rgb(223, 219, 196);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class="">               </span>"name"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class=""> : </span>"Kerberos-Realm"<span style="font-variant-ligatures: no-common-ligatures; color: #4c2f2d" class="">,</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"space"</span> : <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"pcc"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"code"</span> : 6,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"csv-format"</span> : true,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"data"</span> : <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"BASIC.1"</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">       },</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">       {</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"name"</span>: <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"clabs"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"space"</span>: <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"dhcp4"</span>,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">               <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"code"</span>: 122,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">                <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"csv-format"</span>: false,</div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">                <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">"data"</span> : <span style="font-variant-ligatures: no-common-ligatures; color: #b12512" class="">""</span></div><div style="margin: 0px; font-size: 14px; font-family: Courier; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);" class="">       }],</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">122.3 and 122.6 are not sent at all</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>