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:
parent
23d9976039
commit
176e895bd6
|
@ -22,7 +22,7 @@ static inline int gtp_kernel_init(struct gsn_t *gsn, struct in_addr *net,
|
||||||
struct in_addr *mask,
|
struct in_addr *mask,
|
||||||
struct gengetopt_args_info *args_info)
|
struct gengetopt_args_info *args_info)
|
||||||
{
|
{
|
||||||
if (args_info->gtpnl_given) {
|
if (args_info->gtp_linux_given) {
|
||||||
SYS_ERR(DGGSN, LOGL_ERROR, 0,
|
SYS_ERR(DGGSN, LOGL_ERROR, 0,
|
||||||
"ggsn compiled without GTP kernel support!\n");
|
"ggsn compiled without GTP kernel support!\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Reference in New Issue