summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-19 21:41:05 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-19 21:41:05 +0000
commite1a0fc492ace0345fe9968a1a6c73b7bd901c11a (patch)
treeb7752c986b79b1bf256bc06899dbd0d61c9fcf7c /usr.sbin
parentd88d5ada3936a7b1509a633bb7057de431cb076b (diff)
even smaller typo with also big effect... < is not the same as >
of course the holdtime has to be _smaller_ than the minimal allowed holdtime from the new configuration for the session needing a reinitialisation.... it beeing bigger is the normal case and no reason to reinit.
Diffstat (limited to 'usr.sbin')
-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 2017bd6efef..33268ad3057 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.12 2003/12/19 21:26:47 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.13 2003/12/19 21:41:04 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1260,7 +1260,7 @@ session_dispatch_imsg(int fd, int idx)
p->conf.reconf_action = RECONF_REINIT;
if (p->holdtime > nconf->holdtime)
p->conf.reconf_action = RECONF_REINIT;
- if (p->holdtime > nconf->min_holdtime)
+ if (p->holdtime < nconf->min_holdtime)
p->conf.reconf_action = RECONF_REINIT;
}
break;