diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2019-03-25 20:53:34 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2019-03-25 20:53:34 +0000 |
commit | d2245ef5fdd4888801ec12abcf4ff3d4f835a871 (patch) | |
tree | b24339845efb0f9a6237da98c54cd6a18e4326bd | |
parent | 65d5868a690cceb3087878a47c804ec309c705c7 (diff) |
One more TODO entry for reload support: check router-id changes
ok benno@
-rw-r--r-- | usr.sbin/ospf6d/ospf6d.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <claudio@openbsd.org> @@ -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); |