diff --git a/lib/if.h b/lib/if.h index e3ec278f9f..d2f0f87b71 100644 --- a/lib/if.h +++ b/lib/if.h @@ -299,7 +299,7 @@ struct interface { RB_HEAD(if_name_head, interface); RB_PROTOTYPE(if_name_head, interface, name_entry, if_cmp_func) RB_HEAD(if_index_head, interface); -RB_PROTOTYPE(if_index_head, interface, index_entry, if_cmp_func) +RB_PROTOTYPE(if_index_head, interface, index_entry, if_cmp_index_func) DECLARE_QOBJ_TYPE(interface) #define IFNAME_RB_INSERT(vrf, ifp) \