commit | 41ba60c4838099e21b871dab529bc4cdfb00eb9d | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Tue Apr 01 14:18:03 2014 -0700 |
committer | Kir Kolyshkin <kir@openvz.org> | Tue Apr 01 14:24:49 2014 -0700 |
tree | 20023b36e9b0cce5469d75493d260c19959d5595 | |
parent | 4a755f9db7ff99b16e972d44f29d73037d614abd [diff] |
[style] iptables.c: some refactoring 1. Rename iptables to _g_iptables 2. Rename find_ipt() to find_ipt_by_name() 3. Add struct iptables_s* parameter to find_ipt_by_name(). 4. Switch from ARRAY_SIZE loops to "!= NULL" like it was before commit 8036cd3. Signed-off-by: Kir Kolyshkin <kir@openvz.org>