| Summary: | net-firewall/ipset-6.13 - ipset v6.13: Missing mandatory argument to command create | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Fredrik Eriksson <gentoo> |
| Component: | Current packages | Assignee: | Robin Johnson <robbat2> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pva |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Patch to fix parsing of command line
ebuild for patched ipset |
||
Created attachment 327986 [details, diff]
Patch to fix parsing of command line
I got bitten by this bug again and took a closer look. Turned out to be a logic flaw with the command parser ("-" and "-N" is very similar if you only compare the first character). This patch fixes this and works for me. I can't see how it could break anything, but I haven't really tested it extensively.
Created attachment 327988 [details]
ebuild for patched ipset
Fixed in 6.15 |
I'm not sure if this is a gentoo or upstream bug, but after installing ipset-6.13 I can't enter interactive mode for ipset. The man page have not changed, so I assume that the functionality should still be present. Reproducible: Always Steps to Reproduce: 1. Update ipset to version 6.13 2. run "ipset -" Actual Results: Does not enter interactive mode, instead gives the following error message: ipset v6.13: Missing mandatory argument to command create Try `ipset help' for more information. Expected Results: Should have entered ipset interactive mode. accoring to the manual for 6.13: - If a dash is specified as command, then ipset enters a simple interactive mode and the commands are read from the standard input. The interactive mode can be finished by entering the pseudo-command quit.