diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-27 00:01:39 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-27 00:01:39 +0000 |
commit | ce2b8d7bc85eb62ae8f5549fde9e8945f1a2017e (patch) | |
tree | 052bd2d9f28013b464c905ec953f0a5c7356f9c0 /sys/net | |
parent | e7b1c01dbc92afe058dfb44c230940b595abaafe (diff) |
cut-and-paste error; henric
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/route.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/route.c b/sys/net/route.c index 1e7e2486b81..48eeebf75fd 100644 --- a/sys/net/route.c +++ b/sys/net/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.37 2003/08/26 08:33:12 itojun Exp $ */ +/* $OpenBSD: route.c,v 1.38 2003/08/27 00:01:38 itojun Exp $ */ /* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */ /* @@ -679,8 +679,6 @@ rtrequest1(req, info, ret_nrt) /* clean up any cloned children */ rtflushclone(rnh, rt); } - if ((rn = rnh->rnh_deladdr(dst, netmask, rnh)) == NULL) - senderr(ESRCH); if (rn->rn_flags & (RNF_ACTIVE | RNF_ROOT)) panic ("rtrequest delete"); rt = (struct rtentry *)rn; |