diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 18:42:00 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2016-05-23 18:42:00 +0000 |
commit | 4bbbeedd28422326d4876132b79cdb39728fa694 (patch) | |
tree | 0ef17620c241aee107ad172046e0d76b09d5853c /usr.sbin/ldpd/ldpe.h | |
parent | 357bec510aebfba0e13d544b0a04ac7009abc178 (diff) |
Enable changing the router-id via config reload.
Now ldpd can start without a router-id, since it can be set later. Since
a router-id of 0.0.0.0 is invalid, interfaces and targeted-neighbors
will check for a valid router-id in order to be activated.
When the router-id is changed, all the neighborships are reset.
Diffstat (limited to 'usr.sbin/ldpd/ldpe.h')
-rw-r--r-- | usr.sbin/ldpd/ldpe.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpe.h b/usr.sbin/ldpd/ldpe.h index ac8a04631ff..d56d2477ddb 100644 --- a/usr.sbin/ldpd/ldpe.h +++ b/usr.sbin/ldpd/ldpe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpe.h,v 1.49 2016/05/23 18:40:15 renato Exp $ */ +/* $OpenBSD: ldpe.h,v 1.50 2016/05/23 18:41:59 renato Exp $ */ /* * Copyright (c) 2004, 2005, 2008 Esben Norby <norby@openbsd.org> @@ -163,6 +163,7 @@ void ldpe_dispatch_lde(int, short, void *); void ldpe_dispatch_pfkey(int, short, void *); void ldpe_setup_sockets(int, int, int); void ldpe_close_sockets(void); +void ldpe_reset_nbrs(void); void ldpe_remove_dynamic_tnbrs(void); void ldpe_stop_init_backoff(void); void ldpe_iface_ctl(struct ctl_conn *, unsigned int); |