diff options
author | Viktor Tsymbalyuk <viktor.tsymbalyuk@gmail.com> | 2018-01-30 14:40:12 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-09 11:17:39 +0000 |
commit | ab4db107501ad5a8f561326e93db2fafeb6f43db (patch) | |
tree | 6cfd80bf65c799c376c5c2c237d0f1312a02c78c /sgsnemu/cmdline.h | |
parent | dddbbaaee1bfb0890c22a1cd9385d9ba45848997 (diff) |
sgsnemu: created "pinghost" and "createif" modes for mutual exclusion
No warnings when used options from "pinghost" and "createif" groups
in a same time. sgsnemu created tun0 interface and send pings inside
G-PDU, but didn't calculate replys. Added options modes to avoid
mutual exclusion options.
Change-Id: I196df7838212dcddecd64a64a6cba613b6cfced0
Diffstat (limited to 'sgsnemu/cmdline.h')
-rw-r--r-- | sgsnemu/cmdline.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sgsnemu/cmdline.h b/sgsnemu/cmdline.h index 9dc210e..31a2085 100644 --- a/sgsnemu/cmdline.h +++ b/sgsnemu/cmdline.h @@ -370,6 +370,10 @@ extern "C" { unsigned int pdp_type_given; /**< @brief Whether pdp-type was given. */ + int createif_mode_counter; + /**< @brief Counter for mode createif */ + int pinghost_mode_counter; + /**< @brief Counter for mode pinghost */ }; /** @brief The additional parameters to pass to parser functions */ |