From 217f48c61bbfe1422f00830f36d2d255d3622446 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 4 Nov 2010 10:33:28 -0700 Subject: [PATCH] ofp-util: Use our usual variable naming convention in make_ofp_error_msg(). --- lib/ofp-util.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index c95e7c6d..261c67ad 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -888,7 +888,7 @@ make_ofp_error_msg(int error, const struct ofp_header *oh) oem->code = htons(code); } else { struct ofp_error_msg *oem; - struct nx_vendor_error *ove; + struct nx_vendor_error *nve; uint32_t vendor_id; vendor_id = vendor_code_to_id(vendor); @@ -898,15 +898,15 @@ make_ofp_error_msg(int error, const struct ofp_header *oh) return NULL; } - oem = make_openflow_xid(len + sizeof *oem + sizeof *ove, + oem = make_openflow_xid(len + sizeof *oem + sizeof *nve, OFPT_ERROR, xid, &buf); oem->type = htons(NXET_VENDOR); oem->code = htons(NXVC_VENDOR_ERROR); - ove = ofpbuf_put_uninit(buf, sizeof *ove); - ove->vendor = htonl(vendor_id); - ove->type = htons(type); - ove->code = htons(code); + nve = ofpbuf_put_uninit(buf, sizeof *nve); + nve->vendor = htonl(vendor_id); + nve->type = htons(type); + nve->code = htons(code); } if (len) { -- 2.30.2