ipsets: allow blank/commented lines with loadfile
authorDaniel Harding <[email protected]>
Tue, 27 Oct 2020 06:27:01 +0000 (09:27 +0300)
committerJo-Philipp Wich <[email protected]>
Sun, 6 Dec 2020 13:47:17 +0000 (14:47 +0100)
commite8f2d8f2e508a6cce7640a5dcbab9f6ef24b887b
tree98d5d05c04f647557b7b26525d7d477158ce14f6
parent8c2f9fad9ca644af911e0d4113a890c3c84aa738
ipsets: allow blank/commented lines with loadfile

When loading ipset files using the loadfile option, skip blank lines and
lines that start with '#' (disregarding any leading whitespace).

Signed-off-by: Daniel Harding <[email protected]>
ipsets.c