From 6dc71d03ef92e7a0e66ed09c786287f817443017 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 27 Apr 2009 14:29:00 -0700 Subject: Cleanup exports of Vyatta::Misc Remove duplicates from list, and make sure getIP is exported, and that explicit imports are listed. --- lib/Vyatta/Misc.pm | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/Vyatta/Misc.pm') diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index 2bad31d..e5d0738 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -24,10 +24,12 @@ use strict; require Exporter; our @ISA = qw(Exporter); -our @EXPORT = - qw(get_sysfs_value getInterfaces getNetAddIP isIpAddress is_ip_v4_or_v6 is_dhcp_enabled is_address_enabled); -our @EXPORT_OK = qw(get_sysfs_value getNetAddIP isIpAddress is_ip_v4_or_v6 - getInterfacesIPadresses getPortRuleString); +our @EXPORT = qw(getInterfaces getIP getNetAddIP get_sysfs_value + is_address_enabled is_dhcp_enabled + isIpAddress is_ip_v4_or_v6); +our @EXPORT_OK = qw(generate_dhclient_intf_files + getInterfacesIPadresses + getPortRuleString); use Vyatta::Config; use Vyatta::Interface; -- cgit v1.2.3