projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xenserver: Change all bridge's fail_mode when updating.
[openvswitch]
/
lib
/
dhcp.c
diff --git
a/lib/dhcp.c
b/lib/dhcp.c
index 0345efe1509cb8802a09272ceaa3308be84a4078..62ede06e43b793ed5f3e38be135632a0765713ac 100644
(file)
--- a/
lib/dhcp.c
+++ b/
lib/dhcp.c
@@
-561,8
+561,7
@@
parse_options(struct dhcp_msg *msg, const char *name, void *data, size_t size,
{
struct ofpbuf b;
- b.data = data;
- b.size = size;
+ ofpbuf_use_const(&b, data, size);
for (;;) {
uint8_t *code, *len;
void *payload;