summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2009-11-03 21:33:23 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2009-11-03 21:33:23 +0000
commit7be953ee520d59e3cc2ead7d9d8532dff0f69fe8 (patch)
treea6e0fd335cc9cb93fb36b51805e57171aa30b494 /usr.sbin/relayd
parent092696bed12a81c8dd98058f7e53cf6d128ce418 (diff)
reorder structure elements for struct netroute & router: static config
elements first (this matches all the other structures). no functional change.
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/relayd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 240f3dcd77b..15ce555866b 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.131 2009/08/17 11:36:01 reyk Exp $ */
+/* $OpenBSD: relayd.h,v 1.132 2009/11/03 21:33:22 reyk Exp $ */
/*
* Copyright (c) 2006, 2007 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -592,11 +592,11 @@ struct netroute_config {
};
struct netroute {
+ struct netroute_config nr_conf;
+
TAILQ_ENTRY(netroute) nr_entry;
TAILQ_ENTRY(netroute) nr_route;
- struct netroute_config nr_conf;
-
struct router *nr_router;
};
TAILQ_HEAD(netroutelist, netroute);
@@ -613,13 +613,13 @@ struct router_config {
};
struct router {
- TAILQ_ENTRY(router) rt_entry;
struct router_config rt_conf;
+ int rt_af;
struct table *rt_gwtable;
struct netroutelist rt_netroutes;
- int rt_af;
+ TAILQ_ENTRY(router) rt_entry;
};
TAILQ_HEAD(routerlist, router);