From 7b31987a462b83f91d3a761586417ef997e0cd0c Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 10 May 2016 18:38:30 +0200 Subject: ggsn: gtp-kernel: adapt gtp_dev_create() to its new interface Andreas modified this interface, so update so this compiles again. --- ggsn/gtp-kernel.c | 3 +-- 1 file changed, 1 insertion(+), 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)); -- cgit v1.2.3