Index: src/openflow/model/openflow-switch-net-device.cc |
=================================================================== |
--- a/src/openflow/model/openflow-switch-net-device.cc |
+++ b/src/openflow/model/openflow-switch-net-device.cc |
@@ -1439,9 +1439,9 @@ |
} |
int |
-OpenFlowSwitchNetDevice::ReceiveStatsRequest (const void *oh) |
+OpenFlowSwitchNetDevice::ReceiveStatsRequest (const void *msg) |
{ |
- const ofp_stats_request *rq = (ofp_stats_request*)oh; |
+ const ofp_stats_request *rq = (ofp_stats_request*)mg; |
size_t rq_len = ntohs (rq->header.length); |
int type = ntohs (rq->type); |
int body_len = rq_len - offsetof (ofp_stats_request, body); |
@@ -1483,13 +1483,13 @@ |
} |
int |
-OpenFlowSwitchNetDevice::ReceiveEchoRequest (const void *oh) |
+OpenFlowSwitchNetDevice::ReceiveEchoRequest (const void *msg) |
{ |
- return SendOpenflowBuffer (make_echo_reply ((ofp_header*)oh)); |
+ return SendOpenflowBuffer (make_echo_reply ((ofp_header*)msg)); |
} |
int |
-OpenFlowSwitchNetDevice::ReceiveEchoReply (const void *oh) |
+OpenFlowSwitchNetDevice::ReceiveEchoReply (const void *msg) |
{ |
return 0; |
} |