mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 05:47:55 +00:00
ofp-util: Fix offset when making Nicira extension error messages.
This commit is contained in:
parent
0bc9407dbb
commit
17764fb2ac
@ -1988,7 +1988,7 @@ make_ofp_error_msg(int error, const struct ofp_header *oh)
|
||||
oem->type = htons(NXET_VENDOR);
|
||||
oem->code = htons(NXVC_VENDOR_ERROR);
|
||||
|
||||
nve = ofpbuf_put_uninit(buf, sizeof *nve);
|
||||
nve = (struct nx_vendor_error *)oem->data;
|
||||
nve->vendor = htonl(vendor_id);
|
||||
nve->type = htons(type);
|
||||
nve->code = htons(code);
|
||||
|
Loading…
x
Reference in New Issue
Block a user