mirror of
https://codeberg.org/1414codeforge/ubgpsuite.git
synced 2025-06-05 21:29:11 +02:00
[lonetix/*,tools/bgpgrep/*] Correct handling of extended timestamps during filtering, decode and dump
This commit is contained in:
@ -678,7 +678,7 @@ typedef ALIGNED(1, union) {
|
||||
|
||||
FORCE_INLINE Bgp4mphdr *BGP4MP_HDR(const Mrthdr *hdr)
|
||||
{
|
||||
return (hdr->subtype == MRT_BGP4MP_ET) ?
|
||||
return (hdr->type == MRT_BGP4MP_ET) ?
|
||||
(Bgp4mphdr *) ((const Mrthdrex *) hdr + 1) :
|
||||
(Bgp4mphdr *) (hdr + 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user