mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 03:33:43 +00:00
zebra: fix encoded DNSSL length
The encoded DNSSL length is not set so the value is missing from RA
packet.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 8d6f7a4397
)
This commit is contained in:
parent
03a143cd49
commit
0498c47e59
@ -3187,6 +3187,7 @@ int lib_interface_zebra_ipv6_router_advertisements_dnssl_dnssl_domain_create(
|
||||
strlcpy(dnssl.name, yang_dnode_get_string(args->dnode, "domain"),
|
||||
sizeof(dnssl.name));
|
||||
ret = rtadv_dnssl_encode(dnssl.encoded_name, dnssl.name);
|
||||
dnssl.encoded_len = ret;
|
||||
|
||||
if (args->event == NB_EV_VALIDATE) {
|
||||
if (ret < 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user