CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/11/26 08:19:45
Modified files:
usr.sbin/bgpd : name2id.c
Log message:
Rework the name2id code a bit, make internal functions static.
Introduce two helpers _namelookup() and _idlookup() to lookup a
name or id respectivly. It returns the label or NULL if not found.
Reimplement the other internal functions with these helpers.
OK tb@
