unix-socket: add bypassed counter to iface-stat

pull/3221/head
Eric Leblond 8 years ago
parent 93f5b5f1e8
commit 0356293d84

@ -373,6 +373,8 @@ TmEcode LiveDeviceIfaceStat(json_t *cmd, json_t *answer, void *data)
json_integer(SC_ATOMIC_GET(pd->invalid_checksums)));
json_object_set_new(jdata, "drop",
json_integer(SC_ATOMIC_GET(pd->drop)));
json_object_set_new(jdata, "bypassed",
json_integer(SC_ATOMIC_GET(pd->bypassed)));
json_object_set_new(answer, "message", jdata);
SCReturnInt(TM_ECODE_OK);
}

Loading…
Cancel
Save