Actions
Bug #3385
closed
VJ
PA
fast-log: icmp type prints wrong value (4.1.x)
Bug #3385:
fast-log: icmp type prints wrong value (4.1.x)
Affected Versions:
Effort:
Difficulty:
Label:
Description
Fast log prints Packet::sp and Packet::dp, but these are unions:
union {
Port sp;
// icmp type and code of this packet
struct {
uint8_t type;
uint8_t code;
} icmp_s;
};
union {
Port dp;
// icmp type and code of the expected counterpart (for flows)
struct {
uint8_t type;
uint8_t code;
} icmp_d;
};
So printing Packet::sp or dp for ICMP does not give the correct results.
E.g. from et-sigs:
VJ Updated by Victor Julien almost 7 years ago
- Copied from Bug #3266: fast-log: icmp type prints wrong value added
VJ Updated by Victor Julien almost 7 years ago
- Status changed from New to Closed
Actions