CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2025/04/14 05:49:39

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

Log message:
In attr_optadd() avoid allocating the attribute before checking if the
rde_aspath already contains that attribute.

The check does not depend on the allocation so switching the code
simplifies the error handling since a possible allocation does not need
to be rolled back anymore.
OK tb@

Reply via email to