Project

General

Profile

Actions

Documentation #7854

open

Fix flow timestamps() return value order in documentation

Added by tommy wang about 24 hours ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:

Description

- Fixed incorrect return value order in flow timestamps documentation
- According to `LuaFlowTimestamps()` in `src/util-lua-flowlib.c`, the function returns values in this order:
1. start_sec (SCTIME_SECS(f->startts))
2. last_sec (SCTIME_SECS(f->lastts))
3. start_usec (SCTIME_USECS(f->startts))
4. last_usec (SCTIME_USECS(f->lastts))
- Updated documentation in `doc/userguide/lua/libs/flowlib.rst` to reflect the correct order: `start_sec, last_sec, start_usec, last_usec`
- Previous documentation incorrectly showed: `start_sec, start_usec, last_sec, last_usec`

No data to display

Actions

Also available in: Atom PDF