From d2245ef5fdd4888801ec12abcf4ff3d4f835a871 Mon Sep 17 00:00:00 2001 From: Jeremie Courreges-Anglas Date: Mon, 25 Mar 2019 20:53:34 +0000 Subject: One more TODO entry for reload support: check router-id changes ok benno@ --- usr.sbin/ospf6d/ospf6d.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ospf6d/ospf6d.c b/usr.sbin/ospf6d/ospf6d.c index cccaec322e7..8734f8da6af 100644 --- a/usr.sbin/ospf6d/ospf6d.c +++ b/usr.sbin/ospf6d/ospf6d.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospf6d.c,v 1.43 2019/01/15 22:18:10 remi Exp $ */ +/* $OpenBSD: ospf6d.c,v 1.44 2019/03/25 20:53:33 jca Exp $ */ /* * Copyright (c) 2005 Claudio Jeker @@ -612,6 +612,8 @@ ospf_reload(void) if ((xconf = parse_config(conffile, ospfd_conf->opts)) == NULL) return (-1); + /* XXX bail out if router-id changed */ + /* send config to childs */ if (ospf_sendboth(IMSG_RECONF_CONF, xconf, sizeof(*xconf)) == -1) return (-1); -- cgit v1.2.3