CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/05/27 02:38:43

Modified files:
        usr.sbin/bgpd  : rde_community.c 

Log message:
Improve handling of unknown extended communities

Ext communities are split over the 3 data fields of struct community.
All ext communities put the first 2 bytes (type and subtype) into data3.
For EXT_COMMUNITY_TRANS_IPV4 and EXT_COMMUNITY_TRANS_FOUR_AS a 2-4-2 split
is used. All other types use a 2-2-4 split this should include all unknown
types. So add default cases into the various switch statements to make this
happen.

Reported by 7Asecurity
OK tb@

Reply via email to