diff options
author | claudio <claudio@openbsd.org> | 2007-10-17 19:57:54 +0000 |
---|---|---|
committer | claudio <claudio@openbsd.org> | 2007-10-17 19:57:54 +0000 |
commit | b443a7c9236e39a9371b75d60214570cfb3ad11e (patch) | |
tree | 309051bcad21b2795f25754ce26ac37b1b1fbc64 /usr.sbin/ripd/control.c | |
parent | Sanitize debug printf. (diff) | |
download | wireguard-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.c | 7 |
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, |