9
0
Fork 0

ggsn: fix compilation error with --disable-gtp-kernel

gtp-kernel.h: In function ‘gtp_kernel_init’:
gtp-kernel.h:25:15: error: ‘struct gengetopt_args_info’ has no member named ‘gtpnl_given’
  if (args_info->gtpnl_given) {
               ^
Makefile:422: recipe for target 'ggsn

Reported-by: Holger Freyther <holger@freyther.de>
This commit is contained in:
Pablo Neira Ayuso 2016-05-12 16:54:03 +02:00
parent 23d9976039
commit 176e895bd6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ static inline int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net,
struct in_addr *mask,
struct gengetopt_args_info *args_info)
{
if (args_info->gtpnl_given) {
if (args_info->gtp_linux_given) {
SYS_ERR(DGGSN, LOGL_ERROR, 0,
"ggsn compiled without GTP kernel support!\n");
return -1;