I am not knowledgable about NS2 so cannot provide an answer of my own.
However, as no one else has stepped up, I did a quick internet search for the error message...
Code:
direction of pkt-flow not specified sending pkt up on the stack by default
...which turns up plenty of hits.
I cannot recommend one for you but would suggest that you look through the search results available from your search engine of choice as the quickest way to find an answer to your specific problem.
Good luck!