git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added modification time for session traffic.
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
sgconfig
/
parser.cpp
diff --git
a/projects/stargazer/plugins/configuration/sgconfig/parser.cpp
b/projects/stargazer/plugins/configuration/sgconfig/parser.cpp
index a7c79c00d5df90f09685a7a7f535882eff233db9..2c2f2198379e949780452136ceaaa56c558cc0a2 100644
(file)
--- a/
projects/stargazer/plugins/configuration/sgconfig/parser.cpp
+++ b/
projects/stargazer/plugins/configuration/sgconfig/parser.cpp
@@
-920,13
+920,12
@@
else
if (strcasecmp(el, "traff") == 0)
{
int j = 0;
if (strcasecmp(el, "traff") == 0)
{
int j = 0;
- int dir;
DIR_TRAFF dtu;
DIR_TRAFF dtd;
uint64_t t = 0;
while (attr[j])
{
DIR_TRAFF dtu;
DIR_TRAFF dtd;
uint64_t t = 0;
while (attr[j])
{
- dir = attr[j][2] - '0';
+
int
dir = attr[j][2] - '0';
if (strncasecmp(attr[j], "md", 2) == 0)
{
if (strncasecmp(attr[j], "md", 2) == 0)
{