Xuhan Peng e7e4335486 Process ICMP type for iptables firewall
In current security group code, source_port_range_min
and source_port_range_max are used to specify icmp type
and code when security group rule protocol is icmp.
However, the code _port_arg in iptables_firewall called
by _convert_sgr_to_iptables_rules skips protocol icmp
when processing the arg. This happens to both ipv4 and
ipv6 icmp firewall rules.

This fix adds --icmp-type to iptables firewall rule when
icmp type is specified.

Closes-Bug: 1289088

Change-Id: Iebf109f246d47cffc26ab3c2cf113234a4b2cffe
2014-03-17 15:06:21 +08:00
..
2013-08-16 10:10:30 +08:00
2013-07-06 15:02:43 -04:00
2014-02-10 04:58:38 +09:00
2014-02-25 14:28:35 +00:00
2014-02-28 11:34:19 -08:00
2013-07-06 15:02:43 -04:00