summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2023-08-17 08:22:38 (GMT)
committerThomas Haller <thaller@redhat.com>2023-08-17 08:23:00 (GMT)
commit74bffbf6181f9d5afc722ce71c9cc9e48d519dbc (patch)
treea76fbab7b3f79bb2fff8d59428e0839a7c69792b /include
parent59f8db0d778b36ba2b3dc83dbcc3e8592947ad8f (diff)
downloadlibnl-74bffbf6181f9d5afc722ce71c9cc9e48d519dbc.zip
libnl-74bffbf6181f9d5afc722ce71c9cc9e48d519dbc.tar.gz
libnl-74bffbf6181f9d5afc722ce71c9cc9e48d519dbc.tar.bz2
route: fix documentation comment for nl_nh_group_info
https://github.com/thom311/libnl/issues/356 Fixes: 780d06ae8bee ('route: add nh type')
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/nh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/netlink/route/nh.h b/include/netlink/route/nh.h
index 9d2579c..3edbad7 100644
--- a/include/netlink/route/nh.h
+++ b/include/netlink/route/nh.h
@@ -16,8 +16,8 @@ extern "C" {
struct rtnl_nh;
typedef struct nl_nh_group_info {
- uint32_t nh_id; /*!< VLAN number */
- uint8_t weight; /*!< VLAN QOS value */
+ uint32_t nh_id; /*!< nexthop id */
+ uint8_t weight; /*!< weight in nexthop group */
} nl_nh_group_info_t;
typedef struct nl_nh_group {