-
Notifications
You must be signed in to change notification settings - Fork 50
Description
The man page of iprage says the option --ipset-reduce has "the internal default PERCENT is 20". Yet, when you don't use a number after the option strange things happen.
For instance:
iprange -v --ipset-reduce input.set > output.set
Will sit there and wait saying:
iprange: Loading from stdin
If you move the -v after the reduce:
iprange --ipset-reduce -v input.set > output.set
It appears to work, but it does NOT output any of the verbose content that it should.
Only way to get it to work as expected is to include the percentage amount, i.e.:
iprange -v --ipset-reduce 20 input.set > output.set
If you run without the -v or percent, it just sits there (presumably waiting for stdin).
iprange --ipset-reduce input.set > output.set
So I'm not sure if it's just the documentation not being real specific (what would be point be of saying what an internal default is if you must explicitly always specify it?) or an actual bug.