Small simplification of unit parsing for gap & ring size option by using
strtoul for setting start of unit name instead of checking it char by char.

Vadim Kochan (2):
  trafgen: Simplify 'gap' option unit parsing
  trafgen: Simplify ring size unit parsing

 trafgen.c | 30 ++++++++++--------------------
 1 file changed, 10 insertions(+), 20 deletions(-)

-- 
2.6.3

-- 
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 netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to