ofproto: Use UINT16_MAX in place of -1, for clarity.
[openvswitch] / lib / ofpbuf.c
index d1407e7646e4dfa668c19d6dfb3d947236eb635a..bb216791b59fad3853e32a05dc9592b316994f74 100644 (file)
@@ -36,7 +36,7 @@ ofpbuf_use(struct ofpbuf *b, void *base, size_t allocated)
     b->size = 0;
     b->l2 = b->l3 = b->l4 = b->l7 = NULL;
     b->next = NULL;
-    b->private = NULL;
+    b->private_p = NULL;
 }
 
 /* Initializes 'b' as an empty ofpbuf with an initial capacity of 'size'