mirror of https://github.com/ipxe/ipxe.git
[efi] Reset multicast filter list when setting SNP receive filters
According to the UEFI specification, the MCastFilter parameter (which we currently pass as NULL, along with a zero MCastFilterCnt) is optional only if ResetMCastFilter is true. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/20/merge
parent
1f7b269954
commit
471fdfab79
|
@ -335,7 +335,7 @@ static int snpnet_open ( struct net_device *netdev ) {
|
|||
EFI_SIMPLE_NETWORK_RECEIVE_BROADCAST |
|
||||
EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS |
|
||||
EFI_SIMPLE_NETWORK_RECEIVE_PROMISCUOUS_MULTICAST );
|
||||
if ( ( efirc = snp->snp->ReceiveFilters ( snp->snp, filters, 0, FALSE,
|
||||
if ( ( efirc = snp->snp->ReceiveFilters ( snp->snp, filters, 0, TRUE,
|
||||
0, NULL ) ) != 0 ) {
|
||||
rc = -EEFI ( efirc );
|
||||
DBGC ( snp, "SNP %s could not set receive filters: %s\n",
|
||||
|
|
Loading…
Reference in New Issue