diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2024-04-15 23:31:26 +0300 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-04-16 04:20:40 +0000 |
| commit | 0498c47e594fe27ff2469f46b94d10deed59e0c4 (patch) | |
| tree | 328a810b52c3c4a8fb7151f800477e5bc5a2f22f /zebra | |
| parent | 03a143cd49ed1b190cb38f48a31ef4d71fa01a02 (diff) | |
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 8d6f7a43974633abb15a57b24bc30f462bd8841e)
Diffstat (limited to 'zebra')
| -rw-r--r-- | zebra/zebra_nb_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_nb_config.c b/zebra/zebra_nb_config.c index 5cb9985ee4..ff2529f216 100644 --- a/zebra/zebra_nb_config.c +++ b/zebra/zebra_nb_config.c @@ -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) { |
