CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/23 06:31:49
Modified files:
usr.sbin/bgpd : bgpd.h rde.c util.c
Log message:
Rework aspath_verify error handling and expand what AS_ERR_SOFT covers
Instead of AS_ERR_SOFT as a catchall for various soft errors split
the aspath_verify error into negative and positive errors. Negative
errors are hard errors and reset the session. Positive errors are
soft errors and use treat-with-withdraw.
Introduce AS_IS_HARD_ERROR() macro to quickly check for hard errors.
Treat AS_ERR_MAX as a soft-error to prevent a reset in this specific
case. The path is valid but too large and could cause downstream issues.
Reported by Ãzgün Kültekin
OK tb@