diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-06 12:18:03 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-05-06 12:18:03 +0000 |
commit | 5098a53d2df5c9e688d80876f762c430c139a112 (patch) | |
tree | 3c62a39ecb5cfa75218a52a9595139df8ea5ebea /usr.sbin/bgpd/session.c | |
parent | 383d0c9a618b36b82876e71e4ed9e034ec53dbf7 (diff) |
do not punish the peer (by holding him in IDLE for IdleHoldTime seconds) when
receiving a "unsupported capabilities" notification. Speeds capability
negotiation up quite a bit with peers that like to whine about caoabilities
they don't understand
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 7dfa69d5071..ca10ece881d 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.165 2004/05/06 12:09:25 henning Exp $ */ +/* $OpenBSD: session.c,v 1.166 2004/05/06 12:18:02 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -1777,6 +1777,8 @@ parse_notification(struct peer *peer) break; } } + + return (1); } if (errcode == ERR_OPEN && subcode == ERR_OPEN_OPT) { |