diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-10 18:38:30 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-10 18:51:00 +0200 |
commit | 7b31987a462b83f91d3a761586417ef997e0cd0c (patch) | |
tree | f3788b49259446b39b737a0bda9c4ae5bf7818e5 /ggsn/gtp-kernel.c | |
parent | f89dc4e127eea6addea6a7b45eb96da8c1053ba4 (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/gtp-kernel.c')
-rw-r--r-- | ggsn/gtp-kernel.c | 3 |
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)); |