Ipset patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipset: remove the unneeded argvloopsrc/ | +42 | 0 replies | |
| 2/2 | ipset: remove unneeded argvloopsrc/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [patch 0/2] Ipset patches
Hi Jozsef,
what follows are two small patches which remove unneeded argv[] loops when parsing the ipset commands. They are in particular no change in command line handling.
The command line handling can still be improved, as e. g.
$ ipset -o xml create foo hash:ip $ ipset -s add foo 192.168.1.1
both work, but the options are just ignored. And they don't make much sense for either 'create' or 'add'.
Also we should consider to make the argument handling a little more strict, as e. g.
$ ipset -o xml list foo $ ipset list -o xml foo $ ipset list foo -o xml
all work. By removing some of those possibilities it should even get simpler code wise.
/holger