summaryrefslogtreecommitdiff
path: root/lib/rstp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rstp.c')
-rw-r--r--lib/rstp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rstp.c b/lib/rstp.c
index 3b314b4c5..a057c60f1 100644
--- a/lib/rstp.c
+++ b/lib/rstp.c
@@ -40,6 +40,7 @@
#include "connectivity.h"
#include "ofpbuf.h"
#include "ofproto/ofproto.h"
+#include "dp-packet.h"
#include "packets.h"
#include "seq.h"
#include "unixctl.h"
@@ -243,7 +244,7 @@ rstp_init(void)
/* Creates and returns a new RSTP instance that initially has no ports. */
struct rstp *
rstp_create(const char *name, rstp_identifier bridge_address,
- void (*send_bpdu)(struct ofpbuf *bpdu, void *port_aux,
+ void (*send_bpdu)(struct dp_packet *bpdu, void *port_aux,
void *rstp_aux),
void *aux)
OVS_EXCLUDED(rstp_mutex)