summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-25 02:09:20 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-25 02:09:20 +0000
commit9971e57c7c66ae0dbf17d2524c5ca10d12325449 (patch)
tree847d24f32d81b5307d3db930fa40bde9289414a5 /usr.sbin/bgpd/bgpd.c
parentaff4e946780ebe3758791b22e15c5cb3dd94d38d (diff)
it actually makes more sense to call the merged function kroute_change
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r--usr.sbin/bgpd/bgpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 36787a3334b..468a6842882 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.26 2003/12/25 02:04:46 henning Exp $ */
+/* $OpenBSD: bgpd.c,v 1.27 2003/12/25 02:09:19 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -338,13 +338,13 @@ dispatch_imsg(struct imsgbuf *ibuf, int idx, struct mrt_config *conf)
case IMSG_KROUTE_ADD:
if (idx != PFD_PIPE_ROUTE)
fatal("route request not from RDE", 0);
- if (kroute_add(rfd, imsg.data))
+ if (kroute_change(rfd, imsg.data))
fatal("kroute_add error", errno);
break;
case IMSG_KROUTE_CHANGE:
if (idx != PFD_PIPE_ROUTE)
fatal("route request not from RDE", 0);
- if (kroute_add(rfd, imsg.data))
+ if (kroute_change(rfd, imsg.data))
fatal("kroute_change error", errno);
case IMSG_KROUTE_DELETE:
if (idx != PFD_PIPE_ROUTE)