summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-11-05 17:02:21 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2010-11-05 17:02:21 +0100
commit6e42ee58c2710f9cbe36655e3c3093af5b7c87c5 (patch)
treedfdade3649771d2469f7dfa2188c12d42cdf3be2 /lib
parent48d8a10a545e4ef4092550b45f6cba38e0a8c94f (diff)
The protocol extended with the command MODIFY.
The command is not used yet, but better to reserve it already.
Diffstat (limited to 'lib')
-rw-r--r--lib/PROTOCOL4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/PROTOCOL b/lib/PROTOCOL
index 6f07445..f48e87d 100644
--- a/lib/PROTOCOL
+++ b/lib/PROTOCOL
@@ -4,7 +4,7 @@ req: msg: IPSET_CMD_PROTOCOL
resp: attr: IPSET_ATTR_PROTOCOL (protocol max)
IPSET_ATTR_PROTOCOL_MIN (protocol min, optional)
-req: msg: IPSET_CMD_CREATE
+req: msg: IPSET_CMD_CREATE|MODIFY
attr: IPSET_ATTR_PROTOCOL
IPSET_ATTR_SETNAME
IPSET_ATTR_TYPENAME
@@ -59,6 +59,8 @@ req: msg: IPSET_CMD_ADD|DEL
adt-specific-data
...
+resp: success/error
+
req: msg: IPSET_CMD_TEST
attr: IPSET_ATTR_PROTOCOL
IPSET_ATTR_SETNAME