diff options
author | Michele Papalini <micpapal@cisco.com> | 2019-11-12 13:19:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-11-12 13:19:55 +0000 |
commit | 4f57ca72e8131e5cfb023b26417b924e774d5e73 (patch) | |
tree | a4ece77466921823c69dbfed4933d4659437f8b8 /ctrl/libhicnctrl/includes/hicn/ctrl/api.h | |
parent | 48fe930311724be0c0bc3bcc498d911a05e01134 (diff) | |
parent | 955e71001bd6d360805d2b33a9e6b9d6fd17397f (diff) |
Merge "[HICN-376] Add manual connection/route setting to face manager"
Diffstat (limited to 'ctrl/libhicnctrl/includes/hicn/ctrl/api.h')
-rw-r--r-- | ctrl/libhicnctrl/includes/hicn/ctrl/api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/includes/hicn/ctrl/api.h b/ctrl/libhicnctrl/includes/hicn/ctrl/api.h index 7b57a6323..f522010cd 100644 --- a/ctrl/libhicnctrl/includes/hicn/ctrl/api.h +++ b/ctrl/libhicnctrl/includes/hicn/ctrl/api.h @@ -213,7 +213,7 @@ hc_ ## TYPE ## _find(hc_data_t * data, const hc_ ## TYPE ## _t * element, \ hc_ ## TYPE ## _t **found) \ { \ foreach_type(hc_ ## TYPE ## _t, x, data) { \ - if (hc_ ## TYPE ## _cmp(x, element) >= 0) { \ + if (hc_ ## TYPE ## _cmp(x, element) == 0) { \ *found = x; \ return 0; \ } \ |