def version(family='ipv4'):
    cmd = '{0} --version' . format(_iptables_cmd(family))
    out = __salt__['cmd.run'](cmd).split()
    return out[1]
Return version from iptables --version
dataset/ETHPy150Open saltstack/salt/salt/modules/iptables.py/version