From 10e0166b4355525c5f5348b7e30cf5b60b61d2a6 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Fri, 9 Jun 2023 10:12:45 +0100 Subject: [PATCH] openflow: Fix Doxygen warnings --- src/openflow/model/openflow-switch-net-device.cc | 5 +++++ src/openflow/model/openflow-switch-net-device.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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.