diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-10 18:43:12 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-05-10 19:06:01 +0200 |
commit | d9d7be339d6a152d6db58ca6409317ebeac5b53a (patch) | |
tree | 33fe11d9d3c3b03ae6cfabb547d84a6491bb4b4c /ggsn/ggsn.c | |
parent | 7b31987a462b83f91d3a761586417ef997e0cd0c (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/ggsn.c')
-rw-r--r-- | ggsn/ggsn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 9e8e213..7725016 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -260,8 +260,8 @@ int main(int argc, char **argv) printf("pidfile: %s\n", args_info.pidfile_arg); if (args_info.statedir_arg) printf("statedir: %s\n", args_info.statedir_arg); - if (args_info.gtpnl_arg) - printf("gtpnl: %s\n", args_info.gtpnl_arg); + if (args_info.gtp_linux_flag) + printf("gtp_linux: %d\n", args_info.gtp_linux_flag); printf("timelimit: %d\n", args_info.timelimit_arg); } @@ -322,8 +322,8 @@ int main(int argc, char **argv) printf("pidfile: %s\n", args_info.pidfile_arg); if (args_info.statedir_arg) printf("statedir: %s\n", args_info.statedir_arg); - if (args_info.gtpnl_arg) - printf("gtpnl: %s\n", args_info.gtpnl_arg); + if (args_info.gtp_linux_flag) + printf("gtp-linux: %d\n", args_info.gtp_linux_flag); printf("timelimit: %d\n", args_info.timelimit_arg); } |