summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-11-11 11:25:16 +0000
committermpi <mpi@openbsd.org>2015-11-11 11:25:16 +0000
commitc9553fc4f76d3d48e7a064ddba8ea954dad853f1 (patch)
treec4bfac7e301ed078a205ee0c7c4610028894f2e0
parentStore the index of the lo0 interface instead of a pointer to its (diff)
downloadwireguard-openbsd-c9553fc4f76d3d48e7a064ddba8ea954dad853f1.tar.xz
wireguard-openbsd-c9553fc4f76d3d48e7a064ddba8ea954dad853f1.zip
Remove an XXX that no longer makes sense, rt_ifp is now always the same
as rt_ifa->ifa_ifp.
-rw-r--r--sys/net/route.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index 063dd040002..15ae1d86c40 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.269 2015/11/09 10:26:26 mpi Exp $ */
+/* $OpenBSD: route.c,v 1.270 2015/11/11 11:25:16 mpi Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -1667,11 +1667,6 @@ rt_if_remove_rtdelete(struct rtentry *rt, void *vifp, u_int id)
return (EAGAIN);
}
- /*
- * XXX There should be no need to check for rt_ifa belonging to this
- * interface, because then rt_ifp is set, right?
- */
-
return (0);
}