Hi  all:
I've got some problem about setting ACL for node using C API. I read from
the Guide that the scheme "ip" should accept mask, like
172.18.0.0/16。So<http://172.18.0.0/16%E3%80%82So>I called zoo_create()
API with an ACL struct in the form {count:1,
data:{{scheme:ip, id:172.18.0.0/16}}}. However, the C API return a "Invalid
ACL" error. Then I read the source code (the server side), and found that
the ip scheme can only accept an id within only ip string (like,
172.18.0.0).
So, How can I set an ACL with the mask?

-- 
With Regards!

Ye, Qian
Made in Zhejiang University

Reply via email to