-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
- hicn-light control API does not use the ip_address_t data structure as in the rest of the codebase. Because of uniformization with VPP, padding for IPv4 addresses has been moved before, and thus breaks the population of the commands data structures by libhicnctrl. This change moves to using ip_address_t in the control commands too.
- accessors to ip_address_t buffer were prone to error due to newly introduced padding before piv4 content. They have been removed and the code adapted consequently.
- libhicnctrl was incorrectly considering the face_id to be optional for route removal.
- to avoid divergence between commands.h files used in hicn-light and libhicnctrl, libhicnctrl should use a symlink
NOTE: this issue fixes a bug triggering the presence of 0.0.0.0 IP addresses in control commands