Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1641

Incorrect IP address format for abf_policy_dump

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: High High
    • 18.10
    • None
    • None

      The API call abf_policy_dump returns next hop IP address in every FibPath as a byte array with length=16 (as usually), however, the first byte has value either 1 or 2 (according to my testing, it depends whether it is IPv4 or IPv6 address) and rest of the array is the actual IP address.

      This is harder to parse since the IP is "shifted", but most importantly an IPv6 address cannot be parsed at all since it misses the last byte.

            JuliusMilan22 Julius Milan
            vlavor Vladimir Lavor
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: