summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r--usr.sbin/bgpd/bgpd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 6b95380fe77..2254203a2f0 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.52 2004/01/03 20:37:34 henning Exp $ */
+/* $OpenBSD: bgpd.c,v 1.53 2004/01/04 19:39:46 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -426,6 +426,12 @@ dispatch_imsg(struct imsgbuf *ibuf, int idx, struct mrt_config *conf)
kroute_nexthop_delete(ina);
}
break;
+ case IMSG_CTL_RELOAD:
+ if (idx != PFD_PIPE_SESSION)
+ logit(LOG_CRIT, "reload request not from SE");
+ else
+ reconfig = 1;
+ break;
default:
break;
}