Re: macaddr: ignore the checking from index to 0xFF

2025-01-10 Thread Peter Maydell
On Tue, 24 Dec 2024 at 03:27, Liu Jaloo wrote: > > bash-5.1$ git diff net/net.c > diff --git a/net/net.c b/net/net.c > index c1bb19a523..af68029428 100644 > --- a/net/net.c > +++ b/net/net.c > @@ -173,6 +173,7 @@ static void qemu_macaddr_set_used(MACAddr *macaddr) > for (index = 0x56; index <

macaddr: ignore the checking from index to 0xFF

2024-12-23 Thread Liu Jaloo
bash-5.1$ git diff net/net.c diff --git a/net/net.c b/net/net.c index c1bb19a523..af68029428 100644 --- a/net/net.c +++ b/net/net.c @@ -173,6 +173,7 @@ static void qemu_macaddr_set_used(MACAddr *macaddr) for (index = 0x56; index < 0xFF; index++) { if (macaddr->a[5] == index) {