summaryrefslogtreecommitdiff
path: root/sys/net/if_vxlan.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-24 00:29:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-24 00:29:07 +0000
commit2fda989bf1d6710a0aaa1f603209734760d23bd5 (patch)
tree76a793084eba07e5a284d877f9353c56699ff895 /sys/net/if_vxlan.c
parentd9613db2f474744f9c165b0b5a70906a4828cab9 (diff)
Userland (base & ports) was adapted to always include <netinet/in.h>
before <net/pfvar.h> or <net/if_pflog.h>. The kernel files can be cleaned up next. Some sockaddr_union steps make it into here as well. ok naddy
Diffstat (limited to 'sys/net/if_vxlan.c')
-rw-r--r--sys/net/if_vxlan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/if_vxlan.c b/sys/net/if_vxlan.c
index ed312d67db2..e9c6f8e8826 100644
--- a/sys/net/if_vxlan.c
+++ b/sys/net/if_vxlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vxlan.c,v 1.20 2014/12/19 17:14:40 tedu Exp $ */
+/* $OpenBSD: if_vxlan.c,v 1.21 2015/01/24 00:29:06 deraadt Exp $ */
/*
* Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org>
@@ -39,10 +39,6 @@
#include <net/bpf.h>
#endif
-#if NPF > 0
-#include <net/pfvar.h>
-#endif
-
#include <netinet/in.h>
#include <netinet/in_var.h>
#include <netinet/if_ether.h>
@@ -52,6 +48,10 @@
#include <netinet/udp_var.h>
#include <netinet/in_pcb.h>
+#if NPF > 0
+#include <net/pfvar.h>
+#endif
+
#if NBRIDGE > 0
#include <net/if_bridge.h>
#endif