summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6ctl
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-05 16:56:03 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2017-11-05 16:56:03 +0000
commit23141fbd74b0b50b0c117bfbb259552f680dd6d8 (patch)
treed1ebbcb233a9c6747614f43a8c27413706cfc7e9 /usr.sbin/ospf6ctl
parent5ba250d770a9426842bc772a1b6a59c9e6221bc8 (diff)
Disable config reload, ospf6d just exits on reload with simple setups.
And fixing this doesn't appear trivial. Discussed with a bunch at p2k17, ok phessler@ denis@ benno@
Diffstat (limited to 'usr.sbin/ospf6ctl')
-rw-r--r--usr.sbin/ospf6ctl/ospf6ctl.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/ospf6ctl/ospf6ctl.c b/usr.sbin/ospf6ctl/ospf6ctl.c
index 9c36db0a46e..5b56b5fded1 100644
--- a/usr.sbin/ospf6ctl/ospf6ctl.c
+++ b/usr.sbin/ospf6ctl/ospf6ctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6ctl.c,v 1.46 2017/08/12 22:09:54 benno Exp $ */
+/* $OpenBSD: ospf6ctl.c,v 1.47 2017/11/05 16:56:02 jca Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -232,10 +232,14 @@ main(int argc, char *argv[])
done = 1;
break;
case RELOAD:
+#ifdef notyet
imsg_compose(ibuf, IMSG_CTL_RELOAD, 0, 0, -1, NULL, 0);
printf("reload request sent.\n");
done = 1;
break;
+#else
+ errx(1, "reload not supported");
+#endif
}
while (ibuf->w.queued)