aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gtp-tunnel.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-08 18:27:55 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-10 18:03:25 +0200
commitb9f6ffea9cc540336a0b3c40dd4fae60bd552c02 (patch)
tree01518bd7c092c59597006c08c981d19a1d8bfe36 /tools/gtp-tunnel.c
parentee7bb1fb2ec7e4177b25fe0927be2887d73ae87d (diff)
include: refresh linux header copies in the tree
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/gtp-tunnel.c')
-rw-r--r--tools/gtp-tunnel.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/gtp-tunnel.c b/tools/gtp-tunnel.c
index bb12c3f..d68f19d 100644
--- a/tools/gtp-tunnel.c
+++ b/tools/gtp-tunnel.c
@@ -34,7 +34,8 @@
#include <libmnl/libmnl.h>
#include <linux/genetlink.h>
-#include <linux/gtp_nl.h>
+#include <linux/gtp.h>
+#include <linux/if_link.h>
#include <libgtpnl/gtp.h>
#include <libgtpnl/gtpnl.h>
@@ -238,7 +239,7 @@ list_tunnel(int argc, char *argv[], int genl_id, struct mnl_socket *nl)
uint32_t seq = time(NULL);
nlh = genl_nlmsg_build_hdr(buf, genl_id, NLM_F_DUMP, 0,
- GTP_CMD_TUNNEL_GET);
+ GTP_CMD_GETPDP);
if (genl_socket_talk(nl, nlh, seq, genl_gtp_attr_cb, NULL) < 0) {
perror("genl_socket_talk");