[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] how to wfq patch



Hi,
I am using ns-2.1b6.
I copied files under src in wfq patch directory to the ns-allinone-21b6 like
below
(cd /wfq_patch_dir/src
cp *.cc *.h /my_dir/ns-allinone-2.xxx)

then I write the command below( I went into ns-allinone-21b6 directory)
cd /my_dir/ns-allinone-2.xxxx
But the command below give me error messages:
cat /wfq_patch_dir/wfq_patch |patch -p0 -b

errror message:
can't find file to patch at input line 3. Perhaps you used the wrong -p
or --strit option.

What is the problem in the patch?
Could you please help me ?
Thanks,
Bilgin