On 06/06/2015 12:02 AM, Perf Tech wrote:
Thanks Guys for the reply.  The following is what I got, any idea why?

# ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp
Syntax error at line6, at char 't'! syntax error, unexpected number!
# ./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us
Syntax error at line2, at char 'T'! syntax error, unexpected number,
expecting ')'!

That's what I get:

# trafgen -e > foo
# trafgen --in foo --out em1 --cpp --rand --gap 1000us --num 1
     1 packets to schedule
    73 bytes in total
Running! Hang up with ^C!


           1 packets outgoing
          73 bytes outgoing
           0 sec, 1148 usec on CPU0 (1 packets)

Do you have cpp installed on your machine?

On Friday, June 5, 2015 at 4:58:37 PM UTC-5, Daniel Borkmann wrote:

On 06/05/2015 09:58 AM, Vadim Kochan wrote:
...
May be you should add --cpp option ?

$./trafgen --dev eth0 --conf tmp2.txt --rand --gap 1000us --cpp

Yes, that's correct. Thanks for the quick reply, Vadim!



--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to