summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2010-04-22 08:24:58 +0000
committerclaudio <claudio@openbsd.org>2010-04-22 08:24:58 +0000
commit717b917b7cb25125218dd0524156d7ed6337e294 (patch)
tree0988d16f30eace1e246954ba72a4542434fe8d86
parentDepending on capa.neg.as4byte (bgp session is using 4-byte AS number (diff)
downloadwireguard-openbsd-717b917b7cb25125218dd0524156d7ed6337e294.tar.xz
wireguard-openbsd-717b917b7cb25125218dd0524156d7ed6337e294.zip
Including bgpd.h in mrt.h is dumb.
-rw-r--r--usr.sbin/bgpd/bgpd.c4
-rw-r--r--usr.sbin/bgpd/mrt.h4
2 files changed, 3 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c
index 9e91dfa9a6b..346c8443f4f 100644
--- a/usr.sbin/bgpd/bgpd.c
+++ b/usr.sbin/bgpd/bgpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.c,v 1.157 2010/04/13 09:09:48 claudio Exp $ */
+/* $OpenBSD: bgpd.c,v 1.158 2010/04/22 08:24:58 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -32,8 +32,8 @@
#include <string.h>
#include <unistd.h>
-#include "mrt.h"
#include "bgpd.h"
+#include "mrt.h"
#include "session.h"
void sighdlr(int);
diff --git a/usr.sbin/bgpd/mrt.h b/usr.sbin/bgpd/mrt.h
index de489fab697..7447f44b925 100644
--- a/usr.sbin/bgpd/mrt.h
+++ b/usr.sbin/bgpd/mrt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mrt.h,v 1.25 2010/04/22 08:18:00 claudio Exp $ */
+/* $OpenBSD: mrt.h,v 1.26 2010/04/22 08:24:58 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
@@ -18,8 +18,6 @@
#ifndef __MRT_H__
#define __MRT_H__
-#include "bgpd.h"
-
/*
* MRT binary packet format
* For more info see: