summaryrefslogtreecommitdiff
path: root/lib/Vyatta
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-03 08:55:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-02-03 08:55:15 -0800
commit54cbf7c27289dc2068ac89cfa893f0a6997f60a3 (patch)
tree826ea5b80491bc5d694f60b421fc784922d656ed /lib/Vyatta
parentf88442b02018970f50ff2415ef30f993433de16a (diff)
downloadvyatta-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-xlib/Vyatta/IpTables/AddressFilter.pm2
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;