pespin has uploaded this change for review.

View Change

netdev: osmo_netdev_set_ifupdown_ind_cb(): Fix documentation copy-paste error

Change-Id: I334bc7aa2fde4a880fdf25d57d24b05be8e8df85
---
M src/core/netdev.c
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/76/38376/1
diff --git a/src/core/netdev.c b/src/core/netdev.c
index 318134a..7ef7657 100644
--- a/src/core/netdev.c
+++ b/src/core/netdev.c
@@ -750,9 +750,9 @@
return netdev->priv_data;
}

-/*! Set data_ind_cb callback, called when a new packet is received on the network interface.
+/*! Set ifupdown_ind_cb callback, called when the link status (UP/DOWN) changes.
* \param[in] netdev The netdev object where the field is set
- * \param[in] data_ind_cb the user provided function to be called when the link status (UP/DOWN) changes
+ * \param[in] ifupdown_ind_cb the user provided function to be called when the link status (UP/DOWN) changes
*/
void osmo_netdev_set_ifupdown_ind_cb(struct osmo_netdev *netdev, osmo_netdev_ifupdown_ind_cb_t ifupdown_ind_cb)
{

To view, visit change 38376. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I334bc7aa2fde4a880fdf25d57d24b05be8e8df85
Gerrit-Change-Number: 38376
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>