From f669bd7e8ba86a9f34f8fa03d4d2e532ebd58db4 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Thu, 25 Dec 2003 02:50:02 +0000 Subject: remove a useless check & comment --- usr.sbin/bgpd/kroute.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/bgpd/kroute.c b/usr.sbin/bgpd/kroute.c index 5dba60e232d..e95387139a3 100644 --- a/usr.sbin/bgpd/kroute.c +++ b/usr.sbin/bgpd/kroute.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kroute.c,v 1.15 2003/12/25 02:49:05 henning Exp $ */ +/* $OpenBSD: kroute.c,v 1.16 2003/12/25 02:50:01 henning Exp $ */ /* * Copyright (c) 2003 Henning Brauer @@ -121,11 +121,8 @@ retry: return (-1); } } - if (n == sizeof(r)) - return (0); - /* XXX we could not write everything... bad bad bad. cope. */ - return (n); + return (0); } int -- cgit v1.2.3