aboutsummaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2009-02-27 14:12:05 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2009-02-27 14:12:05 +0000
commit33553d6e997f102da7a5f27d534b3ee57beb0a87 (patch)
tree5eda124dfca0f61a8005b2cb09ebb3f08ba9fffc /sys/net/if_ethersubr.c
parente4c38888b7fdbe0b9d9524637b8a3dcfecacad2f (diff)
downloadsrc-33553d6e997f102da7a5f27d534b3ee57beb0a87.tar.gz
src-33553d6e997f102da7a5f27d534b3ee57beb0a87.zip
For all files including net/vnet.h directly include opt_route.h and
net/route.h. Remove the hidden include of opt_route.h and net/route.h from net/vnet.h. We need to make sure that both opt_route.h and net/route.h are included before net/vnet.h because of the way MRT figures out the number of FIBs from the kernel option. If we do not, we end up with the default number of 1 when including net/vnet.h and array sizes are wrong. This does not change the list of files which depend on opt_route.h but we can identify them now more easily.
Notes
Notes: svn path=/head/; revision=189106
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index e74bb74c86e6..df52f839a5a4 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -34,6 +34,7 @@
#include "opt_inet.h"
#include "opt_inet6.h"
#include "opt_ipx.h"
+#include "opt_route.h"
#include "opt_mac.h"
#include "opt_netgraph.h"
#include "opt_carp.h"