From 190dc7879a1a8813f2332ee7b39b743a49ac2771 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 30 Apr 2014 13:08:12 +0200 Subject: trafgen: Don't expose -k/--kernel-pull anymore and warn if it still used The -k/--kernel-pull option got useless with commit c139e80 ("trafgen: remove timer-based trigger model"). Instead of entirely removing it and thus possibly breaking people's scripts, still accept it as an option, but warn the user about it. We might want to remove the option in a future release. Signed-off-by: Tobias Klauser --- trafgen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'trafgen.c') diff --git a/trafgen.c b/trafgen.c index a3a5bb9..489ff53 100644 --- a/trafgen.c +++ b/trafgen.c @@ -56,7 +56,7 @@ struct ctx { bool rand, rfraw, jumbo_support, verbose, smoke_test, enforce, qdisc_path; - unsigned long kpull, num, reserve_size; + unsigned long num, reserve_size; unsigned int cpus; uid_t uid; gid_t gid; char *device, *device_trans, *rhost; @@ -156,7 +156,6 @@ static void __noreturn help(void) " -P|--cpus Specify number of forks(<= CPUs) (def: #CPUs)\n" " -t|--gap