projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dpif-netdev: Allow for Ethernet and VLAN header in buffer size calculation.
[openvswitch]
/
utilities
/
nlmon.c
diff --git
a/utilities/nlmon.c
b/utilities/nlmon.c
index addee1ffa90545b06eae704bde7d9cb05fef2c7c..1fb3808085f3f1f1ae48ea76fe6df649c97bf1b5 100644
(file)
--- a/
utilities/nlmon.c
+++ b/
utilities/nlmon.c
@@
-24,6
+24,7
@@
#include <stddef.h>
#include <linux/rtnetlink.h>
#include "netlink.h"
#include <stddef.h>
#include <linux/rtnetlink.h>
#include "netlink.h"
+#include "netlink-socket.h"
#include "ofpbuf.h"
#include "poll-loop.h"
#include "timeval.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]);
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) {
error = nl_sock_create(NETLINK_ROUTE, RTNLGRP_LINK, 0, 0, &sock);
if (error) {