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:
parent
f89dc4e127
commit
7b31987a46
|
@ -97,8 +97,7 @@ int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net,
|
||||||
if (!args_info->gtpnl_given)
|
if (!args_info->gtpnl_given)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (gtp_dev_create(GTP_DEVNAME, args_info->gtpnl_orig,
|
if (gtp_dev_create(-1, GTP_DEVNAME, gsn->fd0, gsn->fd1u) < 0) {
|
||||||
gsn->fd0, gsn->fd1u) < 0) {
|
|
||||||
SYS_ERR(DGGSN, LOGL_ERROR, 0,
|
SYS_ERR(DGGSN, LOGL_ERROR, 0,
|
||||||
"cannot create GTP tunnel device: %s\n",
|
"cannot create GTP tunnel device: %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
|
Reference in New Issue