aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/gtp-kernel.h
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-12 16:54:03 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-12 16:54:56 +0200
commit176e895bd6ec06fdf062fe39ca208a59e91d23a3 (patch)
tree61e87e5cca83a30900ac929dc17d867059499e2a /ggsn/gtp-kernel.h
parent23d997603948057acab255aa207eb48d5f281a43 (diff)
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>
Diffstat (limited to 'ggsn/gtp-kernel.h')
-rw-r--r--ggsn/gtp-kernel.h2
1 files changed, 1 insertions, 1 deletions
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;