diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-01-22 11:19:04 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2025-01-29 16:48:37 +0100 |
| commit | 4a0e1419a69d07496c7adfb744beecd00e1efef2 (patch) | |
| tree | 290d91d427c906c47f7503760cb68e138a1c9caf /tests/topotests/srv6_static_route_ipv4/test_srv6_route.py | |
| parent | b666ee510eb480da50476b1bbc84bdf8365df95c (diff) | |
lib: guard against padding garbage in ZAPI read
When reading in a nexthop from ZAPI, only set the fields that actually
have meaning. While it shouldn't happen to begin with, we can otherwise
carry padding garbage into the unused leftover union bytes.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/srv6_static_route_ipv4/test_srv6_route.py')
0 files changed, 0 insertions, 0 deletions
