diff options
author | Matthew Smith <mgsmith@netgate.com> | 2020-09-17 16:33:10 -0500 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2020-09-18 17:54:12 +0000 |
commit | a2bbeb848d9c48df51079def147c2cbcda28f063 (patch) | |
tree | 87ec0d30e061da84b0186a8502179337faedffcb /extras/emacs/plugin-qsnode-skel.el | |
parent | 3d81267945a732753b0dbd0a83a50ab0625b448a (diff) |
fib: skip byte swap on n_paths in mroute details
Type: fix
While preparing to send a ip_mroute_details API message, the number
of paths for a multicast route is stored in an int in
send_ip_mroute_details(). Before the value in the int is copied into
the field n_paths in the API message, the byte order is swapped.
This results in n_paths getting set to 0.
Change the int to a u8 and omit the byte swap so API clients can
receive data on multicast route paths.
Change-Id: Ie6dcb0f7b135c5b5deeeb2e44147560dbbb12507
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'extras/emacs/plugin-qsnode-skel.el')
0 files changed, 0 insertions, 0 deletions