vlog: Add ability to log to an arbitrary file, and following related changes:
[sliver-openvswitch.git] / lib / dpif.c
index b7b29d9..da06f16 100644 (file)
@@ -44,7 +44,6 @@
 #include "netlink.h"
 #include "netlink-protocol.h"
 #include "ofpbuf.h"
-#include "ofp-print.h"
 #include "openflow-netlink.h"
 #include "openflow.h"
 #include "packets.h"
@@ -111,7 +110,7 @@ static const struct nl_policy openflow_policy[] = {
     [DP_GENL_A_DP_IDX] = { .type = NL_A_U32 },
     [DP_GENL_A_OPENFLOW] = { .type = NL_A_UNSPEC,
                               .min_len = sizeof(struct ofp_header),
-                              .max_len = OFP_MAXLEN },
+                              .max_len = 65535 },
 };
 
 /* Tries to receive an openflow message from the kernel on 'sock'.  If