diff options
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_bridge.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index 5314b6f..da77d97 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); |