X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstp.c;h=c5c8b3ba8a11238621b13f33b5ca4004cde373a0;hb=abfec865566e6cce961cc8660de1ddfdc85dae5f;hp=6fad3a08e1b8e267a2c1d28dc76fb91dfec9f4b4;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;p=openvswitch diff --git a/lib/stp.c b/lib/stp.c index 6fad3a08..c5c8b3ba 100644 --- a/lib/stp.c +++ b/lib/stp.c @@ -17,7 +17,11 @@ /* Based on sample implementation in 802.1D-1998. Above copyright and license * applies to all modifications. */ +#include + #include "stp.h" +#include +#include #include #include #include @@ -25,10 +29,10 @@ #include "ofpbuf.h" #include "packets.h" #include "util.h" +#include "vlog.h" #include "xtoxll.h" -#include "vlog.h" -#define THIS_MODULE VLM_stp +VLOG_DEFINE_THIS_MODULE(stp) /* Ethernet address used as the destination for STP frames. */ const uint8_t stp_eth_addr[ETH_ADDR_LEN]