pts rule name              description
 ---- ---------------------- --------------------------------------------------
  2.7 DNS_FROM_AHBL_RHSBL    RBL: Envelope sender listed in dnsbl.ahbl.org
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
Status: O
X-Status: F
Content-Length: 1182

Signed-off-by: Andreas Schultz <[email protected]>
---
 libgtnl/include/linux/gtp_nl.h | 2 +-
 libgtnl/src/gtp-genl.c         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libgtnl/include/linux/gtp_nl.h b/libgtnl/include/linux/gtp_nl.h
index a8fdf3a..a1e8ce1 100644
--- a/libgtnl/include/linux/gtp_nl.h
+++ b/libgtnl/include/linux/gtp_nl.h
@@ -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,
 };
diff --git a/libgtnl/src/gtp-genl.c b/libgtnl/src/gtp-genl.c
index bffa7a5..ddb7cc7 100644
--- a/libgtnl/src/gtp-genl.c
+++ b/libgtnl/src/gtp-genl.c
@@ -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)
-- 
2.7.4

Reply via email to