From bdd5135826516d4109922b0d8c61f8d200184f82 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Sun, 27 Mar 2011 21:01:33 +0200 Subject: Timeout can be modified for already added elements When an element to a set with timeout added, one can change the timeout by "readding" the element with the "-exist" flag. That means the timeout value is reset to the specified one (or to the default from the set specification if the "timeout n" option is not used). Example ipset add foo 1.2.3.4 timeout 10 ipset add foo 1.2.3.4 timeout 600 -exist --- tests/setlist.t.before | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/setlist.t.before (limited to 'tests/setlist.t.before') diff --git a/tests/setlist.t.before b/tests/setlist.t.before new file mode 100644 index 0000000..59ee644 --- /dev/null +++ b/tests/setlist.t.before @@ -0,0 +1,4 @@ +create a hash:ip +create b hash:ip +create c hash:ip +create test list:set -- cgit v1.2.3