Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: bgpd increase peer descr length
To:
tech@openbsd.org
Date:
Thu, 14 Mar 2024 06:45:50 +1000

Download raw body.

Thread
On Wed, Mar 13, 2024 at 06:10:20PM +0100, Claudio Jeker wrote:
> I got a complaint, that the limit of 32 char for peer description is too
> short for some of their customers names they want to use.
> 
> Bump PEER_DESCR_LEN to 64 should hopefully be enough.

ok tb

> -- 
> :wq Claudio
> 
> Index: bgpd.h
> ===================================================================
> RCS file: /cvs/src/usr.sbin/bgpd/bgpd.h,v
> diff -u -p -r1.486 bgpd.h
> --- bgpd.h	19 Feb 2024 10:15:35 -0000	1.486
> +++ bgpd.h	13 Mar 2024 15:46:04 -0000
> @@ -37,7 +37,7 @@
>  #define	RTR_PORT			323
>  #define	CONFFILE			"/etc/bgpd.conf"
>  #define	BGPD_USER			"_bgpd"
> -#define	PEER_DESCR_LEN			32
> +#define	PEER_DESCR_LEN			64
>  #define	REASON_LEN			256	/* includes NUL terminator */
>  #define	PFTABLE_LEN			32
>  #define	ROUTELABEL_LEN			32
>