On 09/01/2017 14:02, Michael Richardson wrote:
> 
> When I read:
>      divert-option = [O_DIVERT, +locator-option]
> 
> I think that it means that +locator-option means that one can multiple
> options, and that they would be inside an array?
> 
> So, for example:
> 
> [O_DIVERT, [ [O_IPv6_LOCATOR, ipv6-address, transport-proto, port-number],
>              [O_IPv4_LOCATOR, ipv6-address, transport-proto, port-number],
>              [O_FQDN_LOCATOR, ipv6-address, transport-proto, port-number]]]


I'm not sure there's an additional array. CBOR can handle arrays of undefined
length, so I think that syntax generates

[O_DIVERT,  [O_IPv6_LOCATOR, ipv6-address, transport-proto, port-number],
            [O_IPv4_LOCATOR, ipv6-address, transport-proto, port-number],
            [O_FQDN_LOCATOR, ipv6-address, transport-proto, port-number]]

but I'd rather hear that from Carsten to be sure.

    Brian

_______________________________________________
Anima mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/anima

Reply via email to