diff --git a/src/openflow/model/openflow-switch-net-device.cc b/src/openflow/model/openflow-switch-net-device.cc index c254ecf06..594a7bf87 100644 --- a/src/openflow/model/openflow-switch-net-device.cc +++ b/src/openflow/model/openflow-switch-net-device.cc @@ -27,6 +27,11 @@ NS_LOG_COMPONENT_DEFINE("OpenFlowSwitchNetDevice"); NS_OBJECT_ENSURE_REGISTERED(OpenFlowSwitchNetDevice); +/** + * Generate an ID. + * + * \return Generated ID. + */ static uint64_t GenerateId() { diff --git a/src/openflow/model/openflow-switch-net-device.h b/src/openflow/model/openflow-switch-net-device.h index 80eb8b618..05265608d 100644 --- a/src/openflow/model/openflow-switch-net-device.h +++ b/src/openflow/model/openflow-switch-net-device.h @@ -518,7 +518,7 @@ class OpenFlowSwitchNetDevice : public NetDevice /// Rx Callback NetDevice::ReceiveCallback m_rxCallback; - /// Promiscuopus Rx Callback + /// Promiscuous Rx Callback NetDevice::PromiscReceiveCallback m_promiscRxCallback; Mac48Address m_address; ///< Address of this device.