Hi there,
I'm trying to drop packets under some conditions I want. What I've done is, change the recv function's code in connector.cc so that when the conditions I set are met, I use drop(p) to drop the packet. The problem is that those packets vanish from the logs, which is obviously something I don't want to. From my understanding the drop function doesn't find a drop_ target and uses Packet::free() to remove the packet. My question is, how am I supposed to properly drop a packet from the connector class so that it appears in the logs? Thanks in advance. -- View this message in context: http://old.nabble.com/Properly-drop-packet-tp34250208p34250208.html Sent from the ns-users mailing list archive at Nabble.com.