From 176e895bd6ec06fdf062fe39ca208a59e91d23a3 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Thu, 12 May 2016 16:54:03 +0200 Subject: ggsn: fix compilation error with --disable-gtp-kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- ggsn/gtp-kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggsn/gtp-kernel.h b/ggsn/gtp-kernel.h index 628002f..83280a0 100644 --- a/ggsn/gtp-kernel.h +++ b/ggsn/gtp-kernel.h @@ -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; -- cgit v1.2.3