Elena Ezhova b6b2f433b6 Check port value when creating firewall rule with icmp protocol
If a firewall rule was created with setting protocol as icmp
and using source/destination port no error was thrown, even though
source/destination port parameters are not used by icmp.

This patch adds a validation method that checks passed parameters
and throws an exception if they are incompatible.

Change-Id: I90a765856896395fcb6e9ddbd888b7bd80480674
Closes-Bug: 1327955
2014-06-18 12:51:30 +04:00
..
2014-06-16 12:44:22 +02:00
2014-04-23 18:14:49 +03:00
2014-04-01 10:38:31 -04:00
2014-04-01 10:38:31 -04:00
2014-04-01 10:38:31 -04:00
2014-04-01 10:38:31 -04:00