X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=utilities%2Fnlmon.c;h=1fb3808085f3f1f1ae48ea76fe6df649c97bf1b5;hb=6f20002c1201c1fc78fc7cedb49b103d8afe9da6;hp=addee1ffa90545b06eae704bde7d9cb05fef2c7c;hpb=ff8bb7e76b2cdcbcf88cd2fac663ba517e4a659c;p=openvswitch diff --git a/utilities/nlmon.c b/utilities/nlmon.c index addee1ff..1fb38080 100644 --- a/utilities/nlmon.c +++ b/utilities/nlmon.c @@ -24,6 +24,7 @@ #include #include #include "netlink.h" +#include "netlink-socket.h" #include "ofpbuf.h" #include "poll-loop.h" #include "timeval.h" @@ -42,8 +43,7 @@ main(int argc OVS_UNUSED, char *argv[]) int error; set_program_name(argv[0]); - vlog_init(); - vlog_set_levels(VLM_ANY_MODULE, VLF_ANY_FACILITY, VLL_DBG); + vlog_set_levels(NULL, VLF_ANY_FACILITY, VLL_DBG); error = nl_sock_create(NETLINK_ROUTE, RTNLGRP_LINK, 0, 0, &sock); if (error) {