From d9d7be339d6a152d6db58ca6409317ebeac5b53a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 10 May 2016 18:43:12 +0200 Subject: 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. --- ggsn/gtp-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ggsn/gtp-kernel.c') 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) { -- cgit v1.2.3