From 00316ff330f6bc4bf3518cbf3c467851cb03ca17 Mon Sep 17 00:00:00 2001 From: Craig Dowell Date: Mon, 2 Feb 2009 11:43:10 -0800 Subject: [PATCH] no need to do SendFrom in tap-bridge --- src/devices/tap-bridge/tap-bridge.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/devices/tap-bridge/tap-bridge.cc b/src/devices/tap-bridge/tap-bridge.cc index e5322c215..1b987bdd5 100644 --- a/src/devices/tap-bridge/tap-bridge.cc +++ b/src/devices/tap-bridge/tap-bridge.cc @@ -620,7 +620,11 @@ TapBridge::ForwardToBridgedDevice (uint8_t *buf, uint32_t len) NS_LOG_LOGIC ("Pkt LengthType is " << type); NS_LOG_LOGIC ("Forwarding packet"); +#if 0 m_bridgedDevice->SendFrom (packet, src, dst, type); +#else + m_bridgedDevice->Send (packet, dst, type); +#endif } Ptr