@@ -39,7 +39,7 @@ enum gtp_attrs {
GTPA_TID, /* 64 bits for GTPv1 */
GTPA_SGSN_ADDRESS,
GTPA_MS_ADDRESS,
- GTPA_FLOWID, /* only for GTPv0 */
+ GTPA_FLOW, /* only for GTPv0 */
GTPA_NET_NS_FD,
__GTPA_MAX,
};
@@ -50,7 +50,7 @@ static void gtp_build_payload(struct nlmsghdr *nlh, struct gtp_tunnel *t)
mnl_attr_put_u32(nlh, GTPA_SGSN_ADDRESS, t->sgsn_addr.s_addr);
mnl_attr_put_u32(nlh, GTPA_MS_ADDRESS, t->ms_addr.s_addr);
mnl_attr_put_u64(nlh, GTPA_TID, t->tid);
- mnl_attr_put_u16(nlh, GTPA_FLOWID, t->flowid);
+ mnl_attr_put_u16(nlh, GTPA_FLOW, t->flowid);
}
int gtp_add_tunnel(int genl_id, struct mnl_socket *nl, struct gtp_tunnel *t)
Signed-off-by: Andreas Schultz <aschultz@tpip.net> --- libgtnl/include/linux/gtp_nl.h | 2 +- libgtnl/src/gtp-genl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)