X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fstp.c;h=c5c8b3ba8a11238621b13f33b5ca4004cde373a0;hb=abfec865566e6cce961cc8660de1ddfdc85dae5f;hp=38885c07f666e472ce4691988863e7df7879e991;hpb=02dd3123a0e312f1d33403e744af52dd6096f12d;p=openvswitch diff --git a/lib/stp.c b/lib/stp.c index 38885c07..c5c8b3ba 100644 --- a/lib/stp.c +++ b/lib/stp.c @@ -17,6 +17,8 @@ /* Based on sample implementation in 802.1D-1998. Above copyright and license * applies to all modifications. */ +#include + #include "stp.h" #include #include @@ -27,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]