On Thu, Aug 23, 2012 at 4:39 PM, Aurelien Jarno <aurel...@aurel32.net> wrote: > The lan9118 emulation tries to compute the multicast index by calling > directly the crc32() function from zlib, but fails to get the correct > result. > > Use the common compute_mcast_idx() function instead, which gives the > correct result. This fixes IPv6 support. > > Signed-off-by: Aurelien Jarno <aurel...@aurel32.net> > --- > hw/lan9118.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
There is another crc32() call in hw/lan9118.c:lan9118_receive(). Can that be replaced too and then #include <zlib.h> can be dropped? Stefan