trafgen: do not care if device is running yet
commit5be3139e456d85b18e166643ce1636b0ecdbccc3
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 9 Apr 2013 07:13:23 +0000 (9 09:13 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Tue, 9 Apr 2013 07:13:23 +0000 (9 09:13 +0200)
tree652eda31abe436b4ce573cd21fdfdc81051d380b
parent991ceb9a073b54700c8145694884a53cc7551b7a
trafgen: do not care if device is running yet

E.g. when executing trafgen on tap devices, trafgen will complain
that it is not up and running although it was brought up. Remove
this usability restriction and let the kernel decide if it may
send the packets or not.

Reported-by: Aimal Khan <aimal.khan98@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
trafgen.c