Révision 64693113
Ajouté par Ermal il y a presque 10 ans
pfPorts/filterlog/files/filterlog.c | ||
---|---|---|
108 | 108 |
sbuf_printf(&sbuf, "[pflog: invalid header length!]"); |
109 | 109 |
goto printsbuf; |
110 | 110 |
} |
111 |
hdrlen = BPF_WORDALIGN(hdr->length);
|
|
111 |
hdrlen = PFLOG_HDRLEN;
|
|
112 | 112 |
|
113 | 113 |
if (caplen < hdrlen) { |
114 | 114 |
sbuf_printf(&sbuf, "[|pflog]"); |
Formats disponibles : Unified diff
Do not extract the length from the header but use the fixed size it has. Should fix the issues with logging in amd64