]> granicus.if.org Git - ipset/commit
ipset: Rework the "fake" argument parsing for ipset restore.
authorOliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
Sun, 22 Sep 2013 18:56:34 +0000 (20:56 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Mon, 23 Sep 2013 12:01:34 +0000 (14:01 +0200)
commitf13a2af1f99b4d226231126a7e716635b555df42
tree3757787671eb0eb7e2f4b3422b8f5de01851d515
parent718080c597b6f5b1a71deeae92f5f83baf2b1e22
ipset: Rework the "fake" argument parsing for ipset restore.

This reworks the argument parsing functionality of ipset to handle
quote-delimited lines in such a way that they are considered to be a
single argument.

This commit is necessary for ipset to successfully restore sets that
have comments.

Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
src/ipset.c