X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=utilities%2Fnlmon.c;h=1fb3808085f3f1f1ae48ea76fe6df649c97bf1b5;hb=6b4186af06c450aeaec3a2f677efeb2d10a023fe;hp=d5e743f75206f418d19502e0e9977c8579bee3de;hpb=67a4917b07031b387beafaedce413b4207214059;p=sliver-openvswitch.git diff --git a/utilities/nlmon.c b/utilities/nlmon.c index d5e743f75..1fb380808 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,9 +43,7 @@ main(int argc OVS_UNUSED, char *argv[]) int error; set_program_name(argv[0]); - time_init(); - 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) {