netfilter: ipset: Fix range bug in hash:ip,port,net

Due to the missing ininitalization at adding/deleting entries, when
a plain_ip,port,net element was the object, multiple elements were
added/deleted instead. The bug came from the missing dangling
default initialization.

The error-prone default initialization is corrected in all hash:* types.
This commit is contained in:
Jozsef Kadlecsik 2012-11-19 15:37:46 +01:00
commit 17b14ca25e
4 changed files with 13 additions and 12 deletions