summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 89b3f4f6577..c5a513dd513 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.87 2004/01/28 17:27:55 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.88 2004/01/28 23:31:28 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -33,7 +33,7 @@
#define CONFFILE "/etc/bgpd.conf"
#define BGPD_USER "_bgpd"
#define PEER_DESCR_LEN 32
-#define TCP_SIGN_KEY_LEN 32
+#define TCP_MD5_KEY_LEN 80
#define MAX_PKTSIZE 4096
#define MIN_HOLDTIME 3
@@ -137,7 +137,7 @@ struct peer_config {
u_int16_t holdtime;
u_int16_t min_holdtime;
enum announce_type announce_type;
- char tcp_sign_key[TCP_SIGN_KEY_LEN];
+ char tcp_md5_key[TCP_MD5_KEY_LEN];
enum reconf_action reconf_action;
};