diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2003-12-25 23:41:24 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2003-12-25 23:41:24 +0000 |
commit | 84a256c9180fb5c9d744493bbdc33b664c93ded2 (patch) | |
tree | 0a4c21ffe4ccc05913575cd37d8dd2c73f8b38da /usr.sbin/bgpd/rde.c | |
parent | f04218fe5a82a954c5622650dbecf584f0f794f6 (diff) |
Turn the nexthop verification on. At least in the RDE.
ok henning@
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r-- | usr.sbin/bgpd/rde.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c index 0d3e0718853..cbecc69fe20 100644 --- a/usr.sbin/bgpd/rde.c +++ b/usr.sbin/bgpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.30 2003/12/25 23:22:13 claudio Exp $ */ +/* $OpenBSD: rde.c,v 1.31 2003/12/25 23:41:23 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -241,6 +241,7 @@ rde_dispatch_imsg(struct imsgbuf *ibuf, int idx) case IMSG_NEXTHOP_UPDATE: if (idx != PFD_PIPE_MAIN) fatal("nexthop response not from parent", 0); + nexthop_update(imsg.data); break; case IMSG_MRT_REQ: if (idx != PFD_PIPE_MAIN) @@ -264,13 +265,6 @@ rde_dispatch_imsg(struct imsgbuf *ibuf, int idx) } /* - * rde_request_dispatch() -- handle all messages comming form the parent. - * This are reconfiguration request and inquiries. - * XXX most is done in rde_dispatch_imsg so probably drop this function. - */ - - -/* * rde_update_dispatch() -- handle routing updates comming from the session * engine. */ |