diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 5314b6fd6363..da77d97dcf8b 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -2054,6 +2054,11 @@ bridge_input(struct ifnet *ifp, struct mbuf *m) * local processing. */ + /* Note where to send the reply to */ + if (bif->bif_flags & IFBIF_LEARNING) + (void) bridge_rtupdate(sc, + eh->ether_shost, ifp, 0, IFBAF_DYNAMIC); + /* Mark the packet as arriving on the bridge interface */ m->m_pkthdr.rcvif = bifp; BPF_MTAP(bifp, m);