diff options
author | 2006-05-27 21:25:06 +0000 | |
---|---|---|
committer | 2006-05-27 21:25:06 +0000 | |
commit | b6d97bc28a93b2c45d64a18b4fbb6cd3f5bbc1ac (patch) | |
tree | 6986efe88594ac4fcb37ceb3c8090d839cbe13b0 | |
parent | Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate if (diff) | |
download | wireguard-openbsd-b6d97bc28a93b2c45d64a18b4fbb6cd3f5bbc1ac.tar.xz wireguard-openbsd-b6d97bc28a93b2c45d64a18b4fbb6cd3f5bbc1ac.zip |
Wait for a response from bgpd on reloads.
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index d9405b33100..a2d0020a3f7 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.104 2006/05/23 12:14:34 henning Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.105 2006/05/27 21:25:06 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -218,7 +218,6 @@ main(int argc, char *argv[]) case RELOAD: imsg_compose(ibuf, IMSG_CTL_RELOAD, 0, 0, -1, NULL, 0); printf("reload request sent.\n"); - done = 1; break; case FIB: errx(1, "action==FIB"); |