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

Inconsistence in flag values for neighbors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.01
    • None
    • None

      In the case of ip_neighbor_add_del ,there is is_static flag defined as

      u8 is_static

      but in case of ip_neighbor_dump

      u32 is_static

      which leads to problems with using api from java, because i case if adding neighbor with is_static 1 leads to returning 0x01000000 in dump,which is resolved as int =16777216 which casted to short == 0. Changing the value to u8 in dump should fix this behaviour

            sk1u06b3 Pavel Kotucek
            jsrnicek_cisco Jan Srnicek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: