aboutsummaryrefslogtreecommitdiffstats
path: root/ggsn/gtp-kernel.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-10 18:43:12 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-10 19:06:01 +0200
commitd9d7be339d6a152d6db58ca6409317ebeac5b53a (patch)
tree33fe11d9d3c3b03ae6cfabb547d84a6491bb4b4c /ggsn/gtp-kernel.c
parent7b31987a462b83f91d3a761586417ef997e0cd0c (diff)
ggsn: cmdline: no need to specify interface anymore
--gtpnl is now gone, instead you have --gtpkernel that behaves as an on/off toggle. We full rely on the kernel routing base to select the real device to transmit. I have updated ggsn/cmdline.ggo and then run 'gengetopt' to refresh the automatic code generation for command line options that openggsn uses.
Diffstat (limited to 'ggsn/gtp-kernel.c')
-rw-r--r--ggsn/gtp-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggsn/gtp-kernel.c b/ggsn/gtp-kernel.c
index 9b298ef..93dea23 100644
--- a/ggsn/gtp-kernel.c
+++ b/ggsn/gtp-kernel.c
@@ -94,7 +94,7 @@ 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)
return 0;
if (gtp_dev_create(-1, GTP_DEVNAME, gsn->fd0, gsn->fd1u) < 0) {