aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-10 18:38:30 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-10 18:51:00 +0200
commit7b31987a462b83f91d3a761586417ef997e0cd0c (patch)
treef3788b49259446b39b737a0bda9c4ae5bf7818e5 /ggsn
parentf89dc4e127eea6addea6a7b45eb96da8c1053ba4 (diff)
ggsn: gtp-kernel: adapt gtp_dev_create() to its new interface
Andreas modified this interface, so update so this compiles again.
Diffstat (limited to 'ggsn')
-rw-r--r--ggsn/gtp-kernel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ggsn/gtp-kernel.c b/ggsn/gtp-kernel.c
index 487ae35..9b298ef 100644
--- a/ggsn/gtp-kernel.c
+++ b/ggsn/gtp-kernel.c
@@ -97,8 +97,7 @@ int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net,
if (!args_info->gtpnl_given)
return 0;
- if (gtp_dev_create(GTP_DEVNAME, args_info->gtpnl_orig,
- gsn->fd0, gsn->fd1u) < 0) {
+ if (gtp_dev_create(-1, GTP_DEVNAME, gsn->fd0, gsn->fd1u) < 0) {
SYS_ERR(DGGSN, LOGL_ERROR, 0,
"cannot create GTP tunnel device: %s\n",
strerror(errno));