9
0
Fork 0

ggsn: gtp-kernel: adapt gtp_dev_create() to its new interface

Andreas modified this interface, so update so this compiles again.
This commit is contained in:
Pablo Neira Ayuso 2016-05-10 18:38:30 +02:00
parent f89dc4e127
commit 7b31987a46
1 changed files with 1 additions and 2 deletions

View File

@ -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));