CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2025/01/22 05:19:47

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

Log message:
For whatever stupid reason CAPA_EXT_NEXTHOP uses a 16bit field to store
the safi unlike any other capabililty. So the code uses a tmp16 to do
that but in one place I forgot to that and used safi instead.
Clean this up by setting safi from the tmp16 and use it like everywhere else.

Found by jsg@ with smatch.
OK tb@

Reply via email to