diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-10-30 23:14:37 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-10-30 23:14:37 +0200 |
commit | 8be6f7382fd216319c5cdb8f4c6c6295949b0f54 (patch) | |
tree | 4a03b1e8502ee7b2db4d7a1ba6b1bbefe5f2842f | |
parent | 984c309c5996c9ecaafeda473188a78f0f8eac63 (diff) |
Enforce handling IPv4 and IPv6 differently for hash:ip type.
Use the newly added parser function ipset_parse_ip4_single6 instead
of the generic ipset_parse_ip.
-rw-r--r-- | src/ipset_hash_ip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipset_hash_ip.c b/src/ipset_hash_ip.c index be64189..1d9a175 100644 --- a/src/ipset_hash_ip.c +++ b/src/ipset_hash_ip.c @@ -85,7 +85,7 @@ struct ipset_type ipset_hash_ip0 = { .dimension = IPSET_DIM_ONE, .elem = { [IPSET_DIM_ONE] = { - .parse = ipset_parse_ip, + .parse = ipset_parse_ip4_single6, .print = ipset_print_ip, .opt = IPSET_OPT_IP }, |