From 520e47490fc9833d868b724fa192f2852ded21a1 Mon Sep 17 00:00:00 2001 From: Gaurav Sinha Date: Mon, 14 Nov 2011 16:23:15 -0800 Subject: Bug 7411: exporting isValidPortNumber API from Misc.pm, used in conntrack for validating ports entered --- lib/Vyatta/Misc.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Vyatta/Misc.pm b/lib/Vyatta/Misc.pm index 4818e65..6579da7 100755 --- a/lib/Vyatta/Misc.pm +++ b/lib/Vyatta/Misc.pm @@ -27,7 +27,8 @@ our @ISA = qw(Exporter); our @EXPORT = qw(getInterfaces getIP getNetAddIP get_sysfs_value is_address_enabled is_dhcp_enabled get_ipaddr_intf_hash isIpAddress is_ip_v4_or_v6 interface_description - is_local_address is_primary_address get_ipnet_intf_hash); + is_local_address is_primary_address get_ipnet_intf_hash + isValidPortNumber); our @EXPORT_OK = qw(generate_dhclient_intf_files getInterfacesIPadresses getPortRuleString -- cgit v1.2.3