Merge pull request #10934 from sepalani/bba-igmp

BBA/BuiltIn: Add minimal IGMP support
This commit is contained in:
Mai 2022-08-03 14:17:41 -04:00 committed by GitHub
commit ebb8402a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -556,6 +556,18 @@ bool CEXIETHERNET::BuiltInBBAInterface::SendFrame(const u8* frame, u32 size)
HandleTCPFrame(*tcp_packet);
break;
}
case IPPROTO_IGMP:
{
// Acknowledge IGMP packet
const std::vector<u8> data(frame, frame + size);
WriteToQueue(data);
break;
}
default:
ERROR_LOG_FMT(SP1, "Unsupported IP protocol {}", *ip_proto);
break;
}
break;
}