* src/igc.c (is_dflt_fwd): Avoid false positives due to exthdrs.

This commit is contained in:
Helmut Eller 2026-02-08 17:16:40 +01:00
parent a397513082
commit dc94610043

View file

@ -1932,7 +1932,8 @@ static mps_addr_t
is_dflt_fwd (mps_addr_t addr)
{
struct igc_fwd *f = addr;
if (header_type (&f->header) == IGC_OBJ_FWD)
if (header_type (&f->header) == IGC_OBJ_FWD
&& header_tag (&f->header) == IGC_TAG_OBJ)
return f->new_addr;
return NULL;
}