summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ripd/control.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2007-10-17 19:57:54 +0000
committerclaudio <claudio@openbsd.org>2007-10-17 19:57:54 +0000
commitb443a7c9236e39a9371b75d60214570cfb3ad11e (patch)
tree309051bcad21b2795f25754ce26ac37b1b1fbc64 /usr.sbin/ripd/control.c
parentSanitize debug printf. (diff)
downloadwireguard-openbsd-b443a7c9236e39a9371b75d60214570cfb3ad11e.tar.xz
wireguard-openbsd-b443a7c9236e39a9371b75d60214570cfb3ad11e.zip
Remove redundant code.
Diffstat (limited to 'usr.sbin/ripd/control.c')
-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,