diff options
author | 2012-11-02 18:02:45 +0000 | |
---|---|---|
committer | 2012-11-02 18:02:45 +0000 | |
commit | db34286c624fbb685117dca008ef0d674ec082eb (patch) | |
tree | 11f6442e937468dbafd6427405d5b8f01f1d0f14 | |
parent | Allow to specify how often a pattern has to show up in the relayd (diff) | |
download | wireguard-openbsd-db34286c624fbb685117dca008ef0d674ec082eb.tar.xz wireguard-openbsd-db34286c624fbb685117dca008ef0d674ec082eb.zip |
Unstick bgpctl reload after reloading a bgpd.conf with errors.
ok claudio, benno
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index 13b576d7dd3..72746e2c6e6 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.169 2012/09/18 09:45:51 claudio Exp $ */ +/* $OpenBSD: bgpd.c,v 1.170 2012/11/02 18:02:45 florian Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -436,6 +436,7 @@ reconfigure(char *conffile, struct bgpd_config *conf, struct mrt_head *mrt_l, &rdom_l)) { log_warnx("config file %s has errors, not reloading", conffile); + reconfpending = 0; return (1); } |