CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/05/18 06:34:51
Modified files:
usr.sbin/bgpd : chash.c chash.h rde_attr.c
Log message:
Change CH_LOCATE equality function to be named _eq
Reduce risk of using e.g. memcmp there. _eq returns 1 for match and
0 for no match. Also make all arguemnts const. This makes it a bit
unclear which argument is which. First argument is from the hash table
the second argument is the arg passed to CH_LOCATE.
OK tb@
