summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-26 00:27:24 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-26 00:27:24 +0000
commite8ef2adcee8294640eea77676232e06ae7a5ed62 (patch)
tree9804420927585ba1b9dc148b6ae96b44d24a4b16 /usr.sbin/bgpd/bgpd.c
parentb8f6b93309b6e3e6942c4a72431e038170fe0c59 (diff)
kroute_nexthop_check -> kroute_nexthop_add
kroute_validate_nexthop -> kroute_nexthop_insert
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r--usr.sbin/bgpd/bgpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index ac5b448380a..68ecfcc7eed 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.30 2003/12/26 00:14:04 henning Exp $ */
+/* $OpenBSD: bgpd.c,v 1.31 2003/12/26 00:27:23 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -360,7 +360,7 @@ dispatch_imsg(struct imsgbuf *ibuf, int idx, struct mrt_config *conf)
if (idx != PFD_PIPE_ROUTE)
fatal("nexthop request not from RDE", 0);
memcpy(&ina, imsg.data, sizeof(ina));
- kroute_nexthop_check(ina);
+ kroute_nexthop_add(ina);
break;
case IMSG_NEXTHOP_REMOVE:
if (idx != PFD_PIPE_ROUTE)