diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-27 14:29:00 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-04-27 14:29:00 -0700 |
commit | 6dc71d03ef92e7a0e66ed09c786287f817443017 (patch) | |
tree | fc4c286ee72bbc3a73477635cb4403c6d6693bc7 /lib/Vyatta/Misc.pm | |
parent | 134d48232a74473ed2d03920e44e400858e44bb1 (diff) | |
download | vyatta-cfg-6dc71d03ef92e7a0e66ed09c786287f817443017.tar.gz vyatta-cfg-6dc71d03ef92e7a0e66ed09c786287f817443017.zip |
Cleanup exports of Vyatta::Misc
Remove duplicates from list, and make sure getIP is exported, and that
explicit imports are listed.
Diffstat (limited to 'lib/Vyatta/Misc.pm')
-rwxr-xr-x | lib/Vyatta/Misc.pm | 10 |
1 files changed, 6 insertions, 4 deletions
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; |