diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-03 08:55:15 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-03 08:55:15 -0800 |
commit | 54cbf7c27289dc2068ac89cfa893f0a6997f60a3 (patch) | |
tree | 826ea5b80491bc5d694f60b421fc784922d656ed /lib/Vyatta | |
parent | f88442b02018970f50ff2415ef30f993433de16a (diff) | |
download | vyatta-cfg-firewall-54cbf7c27289dc2068ac89cfa893f0a6997f60a3.tar.gz vyatta-cfg-firewall-54cbf7c27289dc2068ac89cfa893f0a6997f60a3.zip |
Remove prototype
Perl prototypes are broken and should never be used (see Perl Best
Practices).
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-x | lib/Vyatta/IpTables/AddressFilter.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/IpTables/AddressFilter.pm b/lib/Vyatta/IpTables/AddressFilter.pm index 550c03d..5b9768b 100755 --- a/lib/Vyatta/IpTables/AddressFilter.pm +++ b/lib/Vyatta/IpTables/AddressFilter.pm @@ -62,7 +62,7 @@ sub new { return $self; } -sub set_ip_version($$) { +sub set_ip_version { my ($self, $ip_version) = @_; $self->{_ip_version} = $ip_version; |