    for (; i < MAX_PACKETS ; i++) {
      ident[i] = -1;
      offset[i] = -1;
-   }
- 
-+  sbuflen = rbuflen = ROUNDUP(sizeof(struct ip) + Packet::hdrlen_, sizeof(unsigned long) )
-+                      + sizeof(unsigned long);
-+  sendbuf = new unsigned char[sbuflen];
-+  recvbuf = new unsigned char[rbuflen];
- }
- 
-+IPTapAgent::~IPTapAgent()
-+{
-+  delete[] sendbuf;
-+  delete[] recvbuf;
-+}
- 
- /*
-  * Checking for duplicate packets.  Need to do this, if running
-@@ -141,7 +213,57 @@
+@@ -141,6 +202,52 @@
    
    /* TCP header info from the grabbed packet. */
    unsigned char tcphlen;

 #endif
 
 }
--- dist/ns-allinone-2.26/ns-2.26/common/timer-handler.cc	Wed Feb 26 15:07:42 2003
+++ ns-allinone-2.26/ns-2.26/common/timer-handler.cc	Tue Aug 12 16:16:17 2003
@@ -76,3 +76,40 @@
 	if (status_ == TIMER_HANDLING)
 		status_ = TIMER_IDLE;

+};
+
 #endif
--- dist-ns-allinone-2.26/ns-2.26/emulate/tap.cc	Wed Feb 26 15:08:42 2003
+++ ns-allinone-2.26/ns-2.26/emulate/tap.cc	Fri Jun  6 16:42:44 2003
@@ -46,7 +46,7 @@
 	}
 } class_tap_agent;
