X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-stp.c;h=259dc74a3725df974d0eefc0662fe2c87ccf198f;hb=634408e0c5e9d99b55c40ab4df608f822ef923a7;hp=fecada712787351feb6d848bb43f799df47ce810;hpb=829a7d0283a25d61cc5607e5015103373e100e21;p=openvswitch diff --git a/tests/test-stp.c b/tests/test-stp.c index fecada71..259dc74a 100644 --- a/tests/test-stp.c +++ b/tests/test-stp.c @@ -25,6 +25,7 @@ #include #include "ofpbuf.h" #include "packets.h" +#include "vlog.h" struct bpdu { int port_no; @@ -440,6 +441,9 @@ main(int argc, char *argv[]) FILE *input_file; int i; + vlog_set_pattern(VLF_CONSOLE, "%c|%p|%m"); + vlog_set_levels(NULL, VLF_SYSLOG, VLL_OFF); + if (argc != 2) { ovs_fatal(0, "usage: test-stp INPUT.STP\n"); }