summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2006-06-18 13:54:35 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2006-06-18 13:54:35 +0000
commita779108741773f537b19b297b48d424f780550d2 (patch)
treeb1912660775c795809fb5a576c0a67a7512a4c55
parent8ee20e62f7f43749a4933e52a5220eb7d4a7aef8 (diff)
fix a comment
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 535ec53a51e..b701d18950d 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.253 2006/06/18 13:54:01 henning Exp $ */
+/* $OpenBSD: session.c,v 1.254 2006/06/18 13:54:34 henning Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -864,7 +864,7 @@ change_state(struct peer *peer, enum session_state state,
switch (state) {
case STATE_IDLE:
- /* carp demotion first. new peers handled in peer_init */
+ /* carp demotion first. new peers handled in init_peer */
if (peer->state == STATE_ESTABLISHED &&
peer->conf.demote_group[0] && !peer->demoted)
session_demote(peer, +1);