summaryrefslogtreecommitdiffstats
path: root/usr.sbin/IPXrouted
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2014-04-09 11:10:44 +0000
committerglebius <glebius@FreeBSD.org>2014-04-09 11:10:44 +0000
commitecc4e56cfaad4f3823fe6215d844db777085a510 (patch)
tree82a64f9c7ee061cb872b6d7bef95f375d4e1f507 /usr.sbin/IPXrouted
parentf93104a9161e67a8e24568da5044903d6800142c (diff)
downloadFreeBSD-src-ecc4e56cfaad4f3823fe6215d844db777085a510.zip
FreeBSD-src-ecc4e56cfaad4f3823fe6215d844db777085a510.tar.gz
Remove useless embedding of kernel struct rtentry into userland one.
This is direct commit to stable/10. Sponsored by: Nginx, Inc.
Diffstat (limited to 'usr.sbin/IPXrouted')
-rw-r--r--usr.sbin/IPXrouted/table.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/IPXrouted/table.h b/usr.sbin/IPXrouted/table.h
index 3f9693f..a68c64e 100644
--- a/usr.sbin/IPXrouted/table.h
+++ b/usr.sbin/IPXrouted/table.h
@@ -54,15 +54,10 @@ struct rthash {
struct rt_entry *rt_back;
};
-#ifdef RTM_ADD
-#define rtentry ortentry
-#endif
-
struct rt_entry {
struct rt_entry *rt_forw;
struct rt_entry *rt_back;
union {
- struct rtentry rtu_rt;
struct rtuentry {
u_long rtu_hash;
struct sockaddr rtu_dst;
OpenPOWER on IntegriCloud