diff options
author | sebastienr <sebastien.raillet@gmail.com> | 2020-11-25 01:11:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-25 09:11:43 +0900 |
commit | f093d547c2e4c68d0b7060f9accfc67784b7c06a (patch) | |
tree | 073535ce523b8bcfb66f0bff5e2056068d20b9ef /src/daemon/dlt-daemon.h | |
parent | 723344e43485c105fe79d21e2ba4c0dcd3dd0ca7 (diff) | |
download | DLT-daemon-f093d547c2e4c68d0b7060f9accfc67784b7c06a.tar.gz |
dlt-daemon: Adds an option to disable injection mode (#266)
A new option named "InjectionMode" allows to select if
we want to enable / disable the feature
Signed-off-by: Sebastien RAILLET <sebastien.raillet@marelli.com>
Diffstat (limited to 'src/daemon/dlt-daemon.h')
-rw-r--r-- | src/daemon/dlt-daemon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/daemon/dlt-daemon.h b/src/daemon/dlt-daemon.h index 6637f1d..31598bb 100644 --- a/src/daemon/dlt-daemon.h +++ b/src/daemon/dlt-daemon.h @@ -135,7 +135,8 @@ typedef struct int contextLogLevel; /**< (int) log level sent to context if registered with default log-level or if enforced*/ int contextTraceStatus; /**< (int) trace status sent to context if registered with default trace status or if enforced*/ int enforceContextLLAndTS; /**< (Boolean) Enforce log-level, trace-status not to exceed contextLogLevel, contextTraceStatus */ - DltBindAddress_t *ipNodes; /**< (String: BindAddress) The daemon accepts connections only on this list of IP addresses */ + DltBindAddress_t* ipNodes; /**< (String: BindAddress) The daemon accepts connections only on this list of IP addresses */ + int injectionMode; /**< (Boolean) Injection mode */ } DltDaemonFlags; /** * The global parameters of a dlt daemon. |