summaryrefslogtreecommitdiff
path: root/usr.sbin/ripd
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2007-10-17 19:57:55 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2007-10-17 19:57:55 +0000
commita19de520e7add534fd9014550a5168130a92e490 (patch)
treebb3493fa50f23033b97784d3b3b6b6b3974e8194 /usr.sbin/ripd
parentaa4accf450dc0521d4718b2542fa7a7c595f6b7f (diff)
Remove redundant code.
Diffstat (limited to 'usr.sbin/ripd')
-rw-r--r--usr.sbin/ripd/control.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/ripd/control.c b/usr.sbin/ripd/control.c
index 177b7976a5b..e85e6818946 100644
--- a/usr.sbin/ripd/control.c
+++ b/usr.sbin/ripd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.3 2007/03/19 10:10:29 henning Exp $ */
+/* $OpenBSD: control.c,v 1.4 2007/10/17 19:57:54 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -242,11 +242,6 @@ control_dispatch_imsg(int fd, short event, void *bula)
break;
case IMSG_CTL_KROUTE_ADDR:
case IMSG_CTL_KROUTE:
- c->ibuf.pid = imsg.hdr.pid;
- ripe_imsg_compose_parent(imsg.hdr.type,
- imsg.hdr.pid, imsg.data,
- imsg.hdr.len - IMSG_HEADER_SIZE);
- break;
case IMSG_CTL_IFINFO:
c->ibuf.pid = imsg.hdr.pid;
ripe_imsg_compose_parent(imsg.hdr.type,