diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-08 18:27:55 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-10 18:03:25 +0200 |
commit | b9f6ffea9cc540336a0b3c40dd4fae60bd552c02 (patch) | |
tree | 01518bd7c092c59597006c08c981d19a1d8bfe36 /tools/gtp-tunnel.c | |
parent | ee7bb1fb2ec7e4177b25fe0927be2887d73ae87d (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.c | 5 |
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"); |