Skip to content

Commit

Permalink
Double PEER_DESCR_LEN to 64 characters since 32 is a bit on the short…
Browse files Browse the repository at this point in the history
… side.

OK sthen@, deraadt@, dlg@, tb@
  • Loading branch information
cjeker committed Mar 18, 2024
1 parent f822ad6 commit 7578d29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
/* $OpenBSD: bgpd.h,v 1.486 2024/02/19 10:15:35 job Exp $ */
/* $OpenBSD: bgpd.h,v 1.487 2024/03/18 10:49:24 claudio Exp $ */

/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7578d29

Please sign in to comment.