CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/05/23 10:12:28
Modified files:
usr.sbin/ldpd : labelmapping.c lde.c lde_lib.c ldp.h log.c
notification.c
Log message:
Rename a few constants to avoid confusion.
In ldpd we have the map structure, which is used to represent a label message,
and the fec structure, used to store FECs in the LIB.
As of now, ldpd supports two type of FECs:
* IPv4 prefix (FEC_TYPE_IPV4);
* PWID (FEC_TYPE_PWID).
For the label messages, the following contants were being used:
* FEC_WILDCARD;
* FEC_PREFIX (IPv4 or IPv6);
* FEC_PWID.
Since these contants have similar names to the previous ones, rename
them to:
* MAP_TYPE_WILDCARD;
* MAP_TYPE_PREFIX;
* MAP_TYPE_PWID.