On Tue, Sep 16, 2025 at 09:21:12PM +0200, Volker Diels-Grabsch wrote: > Signed-off-by: Volker Diels-Grabsch Reviewed-by: David Gibson > --- > tap.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tap.c b/tap.c > index 7ba6399..cf862ef 100644 > --- a/tap.c > +++ b/tap.c > @@ -1096,7 +1096,11 @@ void tap_add_packet(struct ctx *c, struct iov_tail *data, > return; > > if (memcmp(c->guest_mac, eh->h_source, ETH_ALEN)) { > + char bufmac[ETH_ADDRSTRLEN]; > + > memcpy(c->guest_mac, eh->h_source, ETH_ALEN); > + debug("New guest MAC address observed: %s", > + eth_ntop(c->guest_mac, bufmac, sizeof(bufmac))); > proto_update_l2_buf(c->guest_mac, NULL); > } > > -- > 2.47.3 > -- David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson